• aaOApi_SetInstanceAttrStrValueExt String Format for Date

    Todd Jacobs
    Todd Jacobs
    Is there a specific format that the string value needs to follow in order for this function to correctly convert it to the required data type when setting Date Data Types? I have tried several standard Date string formats e.g.(8/11/2023) without success…
    • Answered
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • aaApi_UserManagementDlg displays the dialog, but its Users/Groups/Lists nodes are empty

    Todd Jacobs
    Todd Jacobs
    Do we need to fill a buffer or something prior to calling the aaApi_UserManagementDlg function in order for it to function correctly? The dialog displays on the screen okay, but left most list control only shows the default root nodes which do not expand…
    • Answered
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [C# PW API] Workflow Rules Engine - push document to next state

    Edward Ashbolt
    Edward Ashbolt
    Hi all, I have been attempting to push a document to a different state using the aaApi_WREDoExecute method listed in the API. Everything seems to be working to a certain degree, except the response I get is: "Execution command identifier '{urn:bentley…
    • Answered
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • [C# PW] Workflow Rules Engine API - Syntax error?

    Edward Ashbolt
    Edward Ashbolt
    Hi all, I have been attempting to push a document to a different state using the aaApi_WREDoExecute method listed in the API. Everything seems to be working to a certain degree, except the response I get is: "Execution command identifier '{urn:bentley…
    • over 1 year ago
    • ProjectWise
    • ProjectWise Design Integration Forum
  • [C# PW API] Execute saved search and return environment attributes for results

    Edward Ashbolt
    Edward Ashbolt
    Hi, I am trying to execute a saved search via PW API, and would like to return all attributes from a specific environment along with the results. So far I have the following code: public static int GetSavedSearchQueryId(string searchName, int parentQueryId…
    • Answered
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Sample code for how to implement hooking with C#

    Dan Williams
    Dan Williams
    Implements two hooks, pre and post login. Third hook commented out as it wasn't fully implemented.
    • HookSampleUsingCSharp.zip
    • over 1 year ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • ProjectWise API accepts incorrect values for Document Code

    Per Bodin
    Per Bodin
    Hi Someone who can help me, would be greatly appreciated. Will try to explain in my poor English Has developed a function for sending files with metadata (attribute values) from a document system to a ProjectWise data source. The ProjectWise data…
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Add Change State Approve/Revise button to ProjectWise toolbar

    Bhanu Chauhan
    Bhanu Chauhan
    Hello All, In ProjectWise Explorer CONNECT Edition, we can get Change State/Next/Previous buttons to the toolbar, but the Approve and Revise are missing. Is it possible to add via ProjectWise SDK/API? Any advice? View > Toolbar > Customize > Commands…
    • over 2 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • How to get value of lProjectIds and plDocumentIds in aaApi_DocumentSelectDlg with C#

    Kevin Cox
    Kevin Cox
    lProjectIds and plDocumentIds give values of 0 and -734941776. I've declared them as Integers but the documentation states LPLONG and array of project IDs. Not sure if I need to Marshal the result.
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Sample-CSharp-CreateSavedSearch.zip

    Dan Williams
    Dan Williams
    Sample console application to create a saved search using Dave Brumbaugh's PWSearchWrapper.dll available with his MostOfDavesClasses found at https://github.com/DaveBrumbaugh/MostOfDavesClasses-CSharp-Wrappers-For-ProjectWise .
    • Sample-CSharp-CreateSavedSearch.zip
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • Intermittent SSO failures via API

    David Hahn
    David Hahn
    Hey all, Has anyone ever encountered intermittent failures when logging in to datasources via the API with SSO? We've switched to using SSO vs a logical account to log in with some of our C# Windows Services code. Most of the time, the login works just…
    • over 3 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Some sample code for using C# with the ProjectWise SDK

    Dan Williams
    Dan Williams
    I posted some parts of these two sample customizations recently, but to make things easier for those looking for the full Visual Studio Projects, you can download the code from GitHub. First of all, you will need Dave Brumbaugh's MostOfDavesClasses, but…
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Sample code for how to call C# code from a MRR file

    Dan Williams
    Dan Williams
    There are more than one way to accomplish this, but here's a pretty straight forward way to accomplish the goal. Not a full solution, but actual parts from one.
    • SampleC-SharpCodeThatCanBeCalledFromMrrFile.zip
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • Source File for Sample Login using C#

    Dan Williams
    Dan Williams
    This sample source file is intended to show one way of logging into a ProjectWise datasource from a console application using MostOfDavesClasses and C#. You can get MostOfDavesClasses from here: https://github.com/DaveBrumbaugh/MostOfDavesClasses…
    • SampleLoginSourceFile.zip
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming - Media Gallery
  • Credential Expiration

    David Hahn
    David Hahn
    Hey all, I'm hoping someone can point me in the right direction. I have a window service that uses the projectwise APi to login, connect to a datasource, preform various operations to get data from projectwise, including copying files out of the system…
    • Answered
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Proper SDK Method of Moving Folder of Files & Sub-Folders

    Dave B
    Dave B
    We have an external database tool that is used in issuing file Transmittals to customers. When a project utilizes ProjectWise (not all do) then this is done within the ProjectWise environment. So when a new Transmittal is started, the tool creates a …
    • Answered
    • over 4 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Setting document properties through API

    Leif Frederiksen
    Leif Frederiksen
    I have been using aaApi_GetDocumentStringProperty to obtain property values from document. That works pretty straight forward. Unfortunately I also want to assign new values to the document properties. I cannot seem to find something like "aaApi_SetDocumentStringProperty…
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Re: Assistance with writing dll containing specific function that will be used in C# project

    Dan Williams
    Dan Williams
    Mike Lazear posted a pretty good summary of the samples included with the SDK a while back, but apparently his summary isn't available anymore. If you search the samples, you will find that "environment", "pw_navigator" and "vaultlist" all are standalone…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Export to PDF

    Furabio
    Furabio
    Hi, guys. I have a simple question: For each document in PW, i need to generate a PDF of this file. Is there a simple way to implement something like that using PW SDK? I have no idea where i should begin to do it. Thanks!
    • over 9 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Re: Using aaApi_GetLinkDataDataBufferColumnValue, a string value is sometimes not returned

    Michael Dougherty
    Michael Dougherty
    Here is an old example I did that uses this function. Take a look maybe it will help. Mike
    • PWGetAttrExample.zip
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum
  • Assistance with writing dll containing specific function that will be used in C# project

    Anonymous
    Anonymous
    We are wanting to create a library (dll) for searching Projectwise and returning document information. The searches will be against a known environment and include criteria that uses both document properties and attributes from the environment. The library…
    • over 10 years ago
    • ProjectWise Programming
    • ProjectWise Programming Forum