Skip to main content
Solved

ProjectWiseWSGConnector and flat sets

  • November 6, 2024
  • 2 replies
  • 42 views

casselgard
Contributor
Forum|alt.badge.img+4

Hi

I am able download files with the ProjectWiseWSGConnector.

Now, I want to download files in a flat set, but this does not work for me.

If I treat the flat set as a file and try to download it. The translation is successful, but nothing is download.

And I can't list the content, because in list mode the flat set isn' visible, since it is treated as a file by the transformer.

Any help would be appreciated.

Best answer by david_r

I’ve never worked with flat sets in PW before, but in my experience the ProjectWiseWSGConnector is very basic and only supports simple file operations.

At some point you’ll have to reach for the HTTPCaller and the WSG REST API. Fortunately, the documentation isn’t too bad. You should be able to locate it at https://your-pw-wsg-server/ws

You can also use the same web connection in the HTTPCaller as in the WSGConnector for authentication, which is very handy.

If available to you, you can also use the PW WebView in conjunction with your browser developer tools to locate the endpoints for the operations you require.

View original
Did this help you find an answer to your question?

2 replies

david_r
Celebrity
  • Best Answer
  • November 7, 2024

I’ve never worked with flat sets in PW before, but in my experience the ProjectWiseWSGConnector is very basic and only supports simple file operations.

At some point you’ll have to reach for the HTTPCaller and the WSG REST API. Fortunately, the documentation isn’t too bad. You should be able to locate it at https://your-pw-wsg-server/ws

You can also use the same web connection in the HTTPCaller as in the WSGConnector for authentication, which is very handy.

If available to you, you can also use the PW WebView in conjunction with your browser developer tools to locate the endpoints for the operations you require.


casselgard
Contributor
Forum|alt.badge.img+4
  • Author
  • Contributor
  • November 9, 2024

Thanks, David.

This was the way forward. I did not use the ProjectWiseWSGConnector at all.


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings