for PW, How to create new saved search folder?
Which function will use for this action?
And, How to define the search condition?
Hi Afa, Saved searches are created in the ProjectWise Explorer client interface and I recommend that you refer to the ProjectWise Explorer Help Documention available in ProjectWise Explorer. Powershell can be used to create a SQL query but this requires knowledge of the database schema and schema information is not widely available.
in projectWise explorer, I know how to create saved search item.
But, Now, I want to use the SDK C# to create saved search. I don't know which function can to create new saved search.
And, which step to creat new saved search in SDK C#.
And, How to define the search condition string in SDK function.
Do you have the sample (C# or C++) to create new saved search?
Sorry Afa, do not use the SDK so cannot help you with that.
Take a look at the C# sample I created a few months ago. Here's a link:
MostOfDavesClasses does not support all of the features available via the ProjectWise SDK, which currently you will have to use C++, or "roll your own" C# classes.
FWIW, dealing with the APIs for Save Searches is a bit complicated, and multiple steps are involved, as well as the ProjectWise SDK Documentation has at least one "disclaimer":
There is a sample named QUERYCUST provided in the SDK delivery. That may be of help to you.
Dan WilliamsSolution ConsultantBentley Systems, IncorporatedPortland, OR, USA (Pacific Time UTC-08:00)