Discussions tagged SnapDevelop

Hi all, the .NET Datastore only has a couple of events, namely RetrieveStart, RetrieveEnd, UpdateStart, UpdateEnd, RowDeleting, RowDeleted. There does not seem to be an event "SqlPreview". In PowerBuilder one can see the issued SQL of every single ...
In my PowerBuilder Client, I want to use the JsonPackage object to send the result sets of two datastores to our Web API that was created with SnapDevelop.  Here is my PB code: //set values of JSONPackage with API datastores ljpk_submit.setvalue( "...
I'm getting a parsing error in the C# model generator for a datawindow that I am not sure how to resolve -- see attached.  The datawindow works fine in PB when doing a preview and passing the required arguments.  The issue appears to related to a sub...
We are using xUnit for our unit tests.  Tests – very simple ones – will often fail with the attached error when doing a 'Run All Tests' operation.  And it is random.  If I select the failed test that is highlighted below and do a 'Run Selected Test' ...
Hi All, This is INFORMATION - Not request for help You may experience issue with VS Code not recognizing C# code targeted for .NET Core 3.0 if you also have SnapDevelop installed. Same issue may occur if you have any app installed that embeds MSBui...
I'm using the datastore model of SnapDevelop in a web api to populate an external datawindow in the client using the ShareData() method.  How would I -- with one restclient call -- populate this multi-row grid datawindow AND also import a single row ...
Problem: Any value I pass to the Retrieve(argument) method returns the error below. I can't tell why. I've tried different data types in the database I need to pull records from. I've tried to use Guids, strings, number types, etc, but none of them ...
Hi, I've started using SnapDevelop today for the first time and I've got a small issue when I run my project. It pops up with the attached Security Warning about installing a root certificate for localhost.  I only seem to get this message if I run ...
Using PB 2019, we have migrated several datastores to a SnapDevelop .NET assembly. Looking through the various tutorials and sample projects, we do not see any examples of accessing datastore column values using object dot notation. All appear to use...
How can I change the code template SnapDevelop uses when I create new "API Controller Class"? Initially I want to decouple action names in route from method names in the controller - and - rename HttpPost method Update => Insert - and - rename ...
I am getting an error when exporting a datawindow using the C# Model Generator to a snapdevelop web api.  When I open the C# Model Generation window I am asked to select/setup a database connection profile which I am able to do.  The test connection ...
hello community How do I enable GIT sin SnapObject? thank you Gimmy...
Hi, we are in the process of building a Web API with SnapObjects. In PowerBuilder, we support either Sql Server or Oracle with the same table structure. For number columns we use "int" in Sql Server and "number(38)" in Oracle. Unfortunately that le...
I was working with the Create Web API tutorial and tried to add another call for another table other than Departments.  I created a Controller for Persons and all subsequent items, which would take the RetrieveOne for an int on the AdventureWorks2017...
Hi all, We are evaluating the efforts to migrate PB NVOs from an EAS web app to REST API using Snap Develop and PB 2019. We already migrated few methods using the IDataStore object. However we noticed that several methods were missing from the orig...
Hi Guru I'm doing the various tutorials on the site, but I don't use SQLServer. Can you pass me the structure of the tables so that I can insert them in oracle and / or in PostgreSQL?   Thank you...
Hey there,   I have a complete DevOp Stack with Visual Studio using: Jenkins – Build Automation build Scripts with cake or nuke VS Extensions, like Resharper, web stuff from Mads Kristensen and more Installer Intellisense Intellicode Live ...
  • Page :
  • 1