344 results found based on the keyword token.
Topic

GetJWTtoken vs SendPostRequest

Hello,I just want to know if there is any special reason for GetJWTtoken function if it's doing (almost) exactly the same as SendPostRequest.I see that GetJWTtoken has extra return status:  "-5 -- Failed to get token" (and has SendPostRequest "-10 --......
  1. Resolved
Topic

External URL error with AppProxy

We have a PS app working fine with internal URLs, cloud servers, all over https, but as we want external access to the application we have created external URLs.  Access to external URLs is controlled by MS AppProxy.  We can access the URLs through t......
  1. Unresolved
Replies

RE: trouble Connecting to Git from Appeon Powerbuilder 2021

I understand that you've resolved your issue using PTA. So I just post here in case it helps others in a similar situation.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 c......
  1. Unresolved
Topic

Display or Save a Blob to PDF save on local machine.

I am using PB2019R3 consuming with an API that returns a PDF in Blob. I use HttpClient supports Blob response, checking the size of the file I use Len and it is correct. My problem is how to convert or decode the Blob to PDF to save on local machine.......
  1. Resolved
Topic

How to PostData using HTTPClient and how to read the result

Hello,Need to PostData to a URL and read the result.   My code to PostData is and Read the response isString ls_email, ls_einvoice_jsonls_email = test@test.comls_einvoice_json = /*JSONVALUE*/ This JSON is verified to workls_url = 'https://api.......
  1. Resolved
Replies

RE: SSH protocol for PB Git source control

From March 1st, Bitbucket seems to require SSH (and basic doesn't work any longer). That means that we can now only use commandline or Torstoise Git for pushing/pulling.........
  1. Unresolved
Topic

PATCH request

Hello,Controller/Service scaffolding in SnapDevelop API generates HttpPost method that can also be used for HttpPut, i.e. for updating only one row of a given model (which is a must for non-PB REST client):// Controller[HttpPut]public async Task<A......
  1. Unresolved
Replies

RE: base64

[Edit: Replaced function source code with improved version that uses fewer variables and memory.]Here's a script for a PowerBuilder function I created that performs Base64 encoding that should be compatible with PB 10:// Public Function: of_Base64Enc......
  1. Unresolved
Topic

Using PowerClient to distribute an app which uses ADO.net

We have an application we're trying to move from PB 2019 R2 Build 2353 to PB 2021 Build 1506. At the same time, we're also looking to distribute the application using PowerClient. The initial testing looks promising apart from not being able to conne......
  1. Resolved
Topic

Using OAuth2 in a Microsoft 365 environment

Dear all,does anybody have a code snippet for getting a token to use with further calls to the MS 365 REST api?I've got app ID, Client secret, user and password but need a tenant, which I don't have right now. I am not familiar with MS 365 and need t......
  1. Unresolved
Replies

RE: Cannot connect to the repository (2)

Have you tried specifying the PAT (token) that you fill in in the password field also for the user field?......
  1. Resolved
Topic

Consuming REST services from MS Graph

Dear all, has anyone some experience using Microsoft graph?I need to consume REST services from PowerBuilder and would like to do it using the following Powerbuilder objects:OAuthClient ,tokenRequest ,tokenResponse Best regardsThorsten......
  1. Unresolved
Topic

Powerbuilder - Okta integration using Authority Code Grant flow

Hi,Do we have examples on how to implement Powerbuilder - Okta integration using the Authority Code Grant flow? How can the redirect URI be captured back into powerbuilder?We want to be able to call an Okta Login web app and capture the identity and ......
  1. Unresolved
Topic

Stored Procedure-based Dynamic DataWindows with PowerServer 2021

Has anyone successfully deployed a PowerServer 2021 app that uses dynamic DataWindows (created with the Create() method), which are populated by stored procedure? When deploying an app using the documented techniques, all SP-based dynamic DataWindows......
  1. Unresolved
Topic

Error getting token with OAuthClient

Hi all, I'm trying to consume a Rest API to get an authentication token.I have no problemems getting the token on Postman with this configuration: But I cant't do it in PB 2021 with OauthClient, it throws me a -1 error code  (tried also with httpclie......
  1. Resolved
Topic

JWT Authentication - how to apply to an existing API built with SnapDevelop?

Hello, We have a client app we built with PB2019R3 build 2703 and used SnapDevelop to build an API so that we can have a cloud app where the PB client runs on the users' local machine but the database and all data-access will be on Azure in the cloud......
  1. Resolved
Topic

TargetInvocationException on Invocation of DataStore

I've written a .NET Windows Form project where I simply want to evaluate a formula with the .NET Datastore and return the value.  Using SnapDevelop I was able to write a successful console application that utilizes the function similarly but when try......
  1. Unresolved
Topic

Httpclient error 403 Forbidden

Hi,I'm developing an integration between Powerbuilder PB 2019R3 application and a Financial API (external of my company) using HTTPClient, but I'm receiving the return error code 403 Forbidden.// Codestring json, base64, url_apiInteger li_SendReturnl......
  1. Resolved
Replies

RE: n_smtp TLS 1.2 mass mailing

To be honest, I was running the bugGenie using outlook for sending emails and it stopped working somewhere in October. I think Microsoft has changed its policy for authentication and now you have to use a token instead of a password (or something lik......
  1. Resolved
Topic

Google People API

HelloI need to know how to import the contact list (name and email) from my Google account into my ERP.I've been reading about the People API, but can't find any examples of how to use it in PB 2019.I created the token and I know to use the OAuthClie......
  1. Resolved

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