335 results found based on the keyword token.
Replies

RE: Best Way To "Merge" Data

Hi,interesting use case.Let's say Joe wants to update the Department table in PB Demo DB.Sivaprakash highlighted the necessary steps, so let me elaborate these steps and write down some code from his hints:Steps 4-5 (API side) are very normal. The Se......
  1. Resolved
Topic

Dropbox files from PB

HiII'm trying to download files from Dropbox In  pb app.I tried to use the rest api, as was demonstrated on Kevin's webinar.That works well, but the access token used is temporary only... And expires. How can I code a script for that, but with a perm......
  1. Unresolved
Topic

More detailed REST WEBAPI examples requested

So I have reviewed the Rest WebAPI example application from Appeon located athttps://docs.appeon.com/snapdevelop2019r3/Secure_a_Web_API_with_JWT_token/index.html#test-the-web-apiI am using PB 2022 for this and trying to build a simple WebAPI to do so......
  1. Unresolved
Topic

IIS configuration with pb 2021

We are trying to install a .net web services on a Windows 2012 R2 server, but the runtime files installation of PowerBuilder 2021 does not contain the required files. StepsInstallation IIS & ASP.net 3.5 and 4.5Restart serverInstalling 2021 runtim......
  1. Unresolved
Topic

how to pass the service account credentials to google api

Hi All, can anyone please help me out, how to pass the service account credentials to google api  (https://iamcredentials.googleapis.com/v1/projects/-/serviceAccounts/:signJwt) I'm in process of generating the JWT token, we are utilizing the Google's......
  1. Unresolved
Topic

Error accessing a stored procedure after migrating to MySql 8.0

Hello I recently migrated to Mysql 8.0 (from 5.6) and I am having an issue with my reporting application, when accessing a report that calls a stored procedure, i am receiving this error:I searched about it, and it seems that Mysql 8.0 does not have ......
  1. Unresolved
Topic

GetJWTtoken return value -26 is undocumented

anyone have any idea what -26 return code means from GetJWTtoken? Link to the documentation.  lots of holes in the return value listGetJWTtoken - - PowerScript Reference (appeon.com)......
  1. Unresolved
Replies

RE: Application EXE Working in source machine not in others machine

Just make sure you are aware that PB has HTTP client, JSON parser/generator, OAuth and JWT token support, etc. so there is no need to use a .NET DLL you can natively call virtually any Web service from PB directly.  By doing so you make your deployme......
  1. Resolved
Topic

Google API access token using JSON Private Key

Hello,Could someone please help me in figuring out how to get a Google API access token using JSON Private Key.The JSON key would look like this:// {// "type": "service_account",// "project_id": "ID of Project",// "private_key_id": "fa2e36e......
  1. Unresolved
Topic

请问下Auth接口服务

请问下  Auth接口服务 怎样调用,用下面方法调用好像获取不到数据,是不是用别的方法,谢谢Integer li_rcString ls_stringHttpClient lnv_HttpClientlnv_HttpClient = Create HttpClient////获取token// Sends request using GET methodli_rc = lnv_HttpClient.SendRequest("GET", "https://*****/token")// Obtai......
  1. Unresolved
Topic

Users PB 19 R3 with Bitbucket

Hi. About PB 19 R3 + bitbucket.I'd configured as appeon and bitbucket said, using app tokens, but I have a question.I can put any email and it'll assume others login, I've tested and bitbucket uses the email to present the person that have pushed the......
  1. Unresolved
Topic

Windows Authentication with SQL Server

Hello,PowerBuilder 2019Sql Server 2019Is there a way to authenticate a AD account that's not the current windows user with SQL Server?  For instance John Doe is logged into windows Jane Doe logs into the appWe need Jane Doe Authenticating not John Do......
  1. Unresolved
Topic

unknown or undocumented return code from GetJWTtoken

Hi all,I'm getting a return code of -27 from RESTClient.GetJWTtoken.  any one have any idea what it means.  documentation doesnt have -27Return valueInteger. Returns 1 if the function succeeds and a negative value if an error occurs. If any argument'......
  1. Resolved
Topic

JSON SERIALIZER

Good day Appeon Support....  I need your help... what will I do if I get this kind of message? My work around is sending messages by ExportRowAsJson... I want to send it all at once. I used dw_1.ExportJson() but this is the response received. "status......
  1. Unresolved
Topic

REST Call using HTTPClient length limitation

I am currently using HTTPClient.SendRequest("POST", string url) to send a REST API Call to a 3rd party application.  It works fine unless the total length of the URL is over about 2,000 characters which happens to be IIS's limit.  I could break it do......
  1. Unresolved
Topic

How to send data using HTTP Client after token was send.

 Hello Appeon Support, Good day!!! I need your help, I currently working on a SMS blast project... I am using the HTTPClient and successfully retrieve the token, however,  I cannot send data using POST method to send SMS to the server... below is the......
  1. Resolved
Replies

RE: How to work with Azure Blob Storage

To all, Thanks Mike's hints on API method, I am able to access Azure Blob Storage from PowerScript.To share some points which think will help others as well:1. For token, it is not either to construct the signature string, so I choosed to use SAS opt......
  1. Resolved
Topic

JWT token - authentication

 HI APPEON Support, Good day... I need your help badly... I am new in API and REST... need guidance. Our company is implementing SMS Blast.. Authentication is give by the provider company. Basic Authentication in the HTTP headerAuthorization: Basic {......
  1. Resolved
Replies

RE: how to use RetrieveAsync parameter

Hi Aaron,Are you asking how to pass .NET DataStore retrieve argument when affected by cancellationtoken?RetrieveAsync(object[] arguments, Cancellationtoken cancellationtoken); If yes, you can use "new object[]{value1, value2, ...}" to pass in the val......
  1. Resolved
Topic

Upload file to Azure BLOB store

HiWe are using PowerBuilder 2019 R3.I need to upload files to Azure BLOB store. I have tried using HTTPClient and RESTClient (Post, SendRequest, etc) to upload files. It is not working. FYI I am using SAS tokens. There is no documentation I could fin......
  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