335 results found based on the keyword token.
Topic

JWT Example

Hi GuysI've followed the steps on this tutorial:https://docs.appeon.com/snapdevelop2019/Secure_a_Web_API_with_JWT_token/index.htmlBut I get always 401 Unauthorized when I try to call the API (After successfull login)Any hints?In attachment the code T......
  1. Unresolved
Topic

HTTPClient problem on Mobile app

PowerServer (PB Edition) 2020 Build 2323.00PowerBuider 2019R2 Build 2353Hello, i have two similar applications for web and mobile (Android) that consume a rest service using HTTPClient to create an event on google calendar using Google Calendar Api.T......
  1. Resolved
Replies

RE: Remembering user's credentials

I don’t think it is secure to save the password to the machine.  But if you are not concerned, one option is to write to an INI file.  ......
  1. Resolved
Topic

httpclient.sendrequest fails when deployed but works in development mode

Here is my code. The block in red  returns 1 (success code) in development  and also in the exe when deployed on  a machine which has PowerBuilder 2017 R3 installed But when attempting to run this on a user machine without PowerBuilder, it returns -1......
  1. Resolved
Topic

RibbonMenu XML error

Good day!I'm trying to create a ribbonmenu out of the current menu I have in our application and I'm running into a couple of errors.  I'm using Bruce's ribbon bar menu generator in code exchange and the IDE is showing an error in the code.'"' is an ......
  1. Unresolved
Topic

Slowness in HttpClient

I am consuming a REST API from PowerBuilder 2019 R2. For this I use the HttpClient class.When running the API from Posman, Insomnia and SoapUI the response is immediate (thousandths of a second) However, when I run it from PowerBuilder, at best it ta......
  1. Unresolved
Topic

API for read version

Hi community Are there any API for read this informations ?Thanks for answersGimmy   ......
  1. Resolved
Replies

RE: Pushing PB2017R3 objects to my orgs Github space

Hi Ganesan, You can authenticate using a personal access token (PAT). Basically, you can generate a PAT on GitHub and use it as both your user name and password in PB IDE.Username: yourPATPassword: yourPAT You can refer to the following link for more......
  1. Resolved
Replies

RE: RESTClient with REQUEST BODY

see retrieve method from restclient:objectname.Retrieve ( dwControl, urlName {, data} {, tokenrequest} ) In help, example #4 is sending JSON data   ......
  1. Unresolved
Topic

Copy files to network share with elevated credentials

I am trying to follow this (rather old) instruction for how to copy files to a network share with elevated credentails, but I cannot get it to work. http://codeverge.com/sybase.powerbuilder.general/copy-files-to-network-with-elevat/1038363 My code is......
  1. Unresolved
Topic

SVN - adding existing ws_objects and PBT to new workspace??

Hi All,This IDE question has major ramifications in our shop. The outcome informs whether we can migrate using 2019 R2 from TFS to SVNHere's an outline of our current process1) On our build server via TFS, we branch our trunk line into a new branch r......
  1. Unresolved
Replies

RE: SAP Business One SDK with SAP ServiceLayer HANA from PowerBuilder

Giuseppe mogliaIf I still require help for initial sdk service layer with powerbuilder.It would be of great help, some documentation or example for integration of powerbuilder with bussines one sdk service layer hana, Daniel Giugliano......
  1. Unresolved
Replies

RE: MS SQL Server 2017 use ADO.NET, ODBC, or JDBC?

This is a tough question. Most customers use the SQL Server native client; however, they made this decision years ago.  Considering Microsoft has discontinued the native client, its not clear that going with native client for a new project such as yo......
  1. Unresolved
Replies

RE: Retrieving Data From HTTPClient Into Datawindow Error

Hi Craig;   FYI: From the PB Help ....Return valueLongReturns values as follows. If any argument's value is null, the method returns null.>=0 -- Returns the number of rows if it succeeds-1 -- General error-2 -- Invalid URL-3 -- Cannot connect to t......
  1. Unresolved
Replies

RE: Git - Connect to Workspace fails

Balu,You can try using a PTA as both the user name and password in PB IDE to access your repository on GitHub. To create a PTA, you can click on your icon on the upper-right corner on GitHub > Settings > Developer Settings > Personal access ......
  1. Resolved
Replies

RE: Need to make API calls to Emma (a CRM)

Thanks for the response.  I had figured out that part, but the piece that I don't know about is how to provide the authentication keys.  I have a public and private key and I see in the examples that you have to send those in to be authenticated, but......
  1. Unresolved
Replies

RE: DLL vs PBD

I'm very much in line with Ricardo. "Your mileage may vary!"Performance is SO environment dependent. You have to measure P-code vs. M-code in YOUR app in YOUR environment. PB manual on compile to machine code discusses what code elements runs faster.......
  1. Resolved
Topic

Calling as RestApi with post method

Hello all,i am starting to develop a New PB app that must call a Python RestAPIthis is the code i have in Python working and need to translate it to PBI must send and image as a parameterimport requestsurl = "http://10.0.0.10:5005/subir/"payload = {'......
  1. Unresolved
Replies

RE: Consuming WCF web service

Hi MosheHere is some test code I used to connect to a "Real World" service:n_httpclient l_httpstring ls_test, ls_responseulong lul_lengthblob lblob_data, lblob_responseinteger li_rcls_test = '<?xml version="1.0" encoding="utf-8"?><SOAP-ENV:E......
  1. Unresolved
Replies

RE: Azure Devops Git repository authentication

Hi Kelly, You can authenticate using a personal access token (PAT) in this case. Basically, you can generate a PAT on Azure DevOp and use it as both your user name and password in PB IDE.Username: yourPATPassword: yourPAT You can refer to the followi......
  1. Unresolved

Find Questions by Tag

.EXE .NET 6.0 .NET Assembly .NET Core 3.1 .NET Core Framework .NET DataStore .NET Std Framework 32-bit 64-bit ADO.NET AEM AI Algorithm Amazon AWS Android Apache API APK App Store App Store (Apple) Appeon Workspace Appeon Xcelerator Plug-in Architecture Array ASE Asynchronous Methods Authentication AutoBuild AutoCompiler Automated Testing Automation AutoScript Azure Barcode Base64 Batch BigData BLOB Branch & Merge Browser Bug Build Button C# C# Class Importer C# Editor C# Model generator Calendar Camera Certificate Chrome Citrix Class Client Client/Server Cloud Cluster Collection COM Command Line Compiler Compression Computed Field Configuration Controls Cookies Cordova Crash Cross-Platform Crosstab CSharpAssembly CSharpObject CSS CSV Cursor Data Database Database Driver Database Painter Database Profile Database Provider DataObject DataSource DataStore DataStore (C#) DataStore (PS) DataType DataWindow DATE DATETIME DB2 Debug Debugger Debugging Deployment Design DLL DO-WHILE Dockable Docker Documentation DOUBLE Download DPI DragDrop Edge Edit Style Editor Elevate Conference Email Embedded SQL Emulator Encoding Encryption Enhancement Request Entity Entity Framework ERP Error Event Event Handler Event Handling Excel Exception Export Expression External Functions F# Field File File Access Filter Firefox Firewall Font FOR-NEXT Foreground Format Function Garbage Collection GeoLocation Git Graph HANA Hash Header HTML/5 HTTP/S HTTPClient Icon IDE Identity IIS IMAPI Import InfoMaker Inheritance Installation Integer IntelliSense Interface Internet Internet Explorer iOS IPA iPad iPhone IWA J# Java JavaScript JBoss JDBC JOIN JSON JSONGenerator JSONParser Kestrel Label Lambda Large File LDAP Library License LINQ Linux OS Load Balancing Localization Localized PBVM Log In Log Out Logging LONG LONGLONG macOS MAPI Maps MDI Memory Memory Leak Menu Merge MessageBox Messagging Method Migration MIME TYPE Mobile Model ModelStore ModelStore (C#) MSOLEDBSQL Multi Threading MVC MySQL n-Tier Namespace NativePDF NVO OAuth ODATA ODBC Office Offline OLE OLEDB Online Open Source OpenAPI OpenSSL Oracle OrcaScript Other Outlook Output Package Parameter Patch PayPal PB Classic PB Native PB.NET PBC PBD PBDOM PBG PBJVM PBL PBNI PBORCA PBVM PBX PDF Performance Permission PFC Picture Pipeline Play Store (Google) Plugin Popup Port POST PostgreSQL PowerBuilder PowerBuilder (Appeon) PowerBuilder (SAP) PowerBuilder Compiler PowerBuilder Runtime PowerClient PowerScript (PS) PowerScript IDE PowerScript Migrator PowerServer PowerServer Mobile PowerServer Toolkit PowerServer Web PowerServerLabel Print Properties Proxy Publish PULL PUSH Query Regression Release Renew Resize Response REST Retrieve RibbonBar RibbonBar Builder RibbonView Rich Text Roadmap RPC Runtime Packager SaaS Scaffolding Script SDI SDK Security Server Service Session Single Sign-on Size SMTP SMTPClient SnapDevelop SOAP Solution Sort Source Code Speech Recognition SQL SQL Anywhere SQL Server SqlBuilder SqlExecutor SQLite SqlModelMapper Storage Stored Procedure Subscription SVN Swagger Syntax TabbedBar TabbedView Tablet TabPage Target TE Control Testing Text TFS Theme TIME Timer TLS/SSL Tomcat TortoiseGit TortoiseSVN Transaction Transparency Trial Trigger TRY-CATCH TX Control Type UI ULONG UltraLite Uninstall Unit Test Unit Testing UNIX OS Update Upgrade Upload URL User Center User Object UWP Validation VARCHAR Variable Versioning Visual Studio Visual Studio Code VM Voice Warning WCF Web API Web Extensions Web Service WebBrowser WebForms WebLogic WebSphere WildFly WinAPI Window Windows OS WinForms Wizard Workgroup Workspace WPF XCODE XHTML XML Zoom