cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

How to specify folder when uploading?

Former Member
0 Likes
346

Hi,

I'm just beginning to learn the Visual Enterprise Generator Soap API. I can upload files using VEAccess and have downloaded a VDS derivative successfully using the API.

Now I wish to look at uploading using the soap API. How would you specify a destination folder for a generated asset?

View Entire Topic
Former Member
0 Likes

Hi Peter,

I just want to make sure that you are aware that since VEG 8.0 SP4, there is a new REST API that can be used for conversion purposes - please keep in mind that this api currently does not provide support for persistent storage. If your use case is simple conversion/creation of VDS you can find more information about this API on the following links:

https://wiki.scn.sap.com/wiki/display/SVE/VEG+Generic+Conversion+Workflow

Generic Conversion - API Reference - SAP Visual Enterprise - SCN Wiki

If however, you want to use the Standalone VEG as an asset management system and you are relying on VEG to store your assets then the SOAP API is currently the only available option. If this is the case please let me know and I can provide further pointers on how to use the SOAP API.

Kind Regards,

Marko Laban

Product Owner

SAP 3D Visual Enterprise Generator

Former Member
0 Likes

Hi Marko,

It looks like we do need to stick with SOAP API for the persistent storage.

I think I know how to upload a file with StartUniqueFileUpload etc,

But what I really want to do is

(a) get a new asset into the folder structure, ie visible from the VEAccess browse page

(b) optionally generate a VDS.

(perhaps this is some sort of job I need to start?)

I may be missing some key concepts so feel free to correct me if I seem to pursuing a strange direction.

Former Member
0 Likes

Hi Peter,

Just to confirm that you are aware of Web API documentation that exists in the VEG installation folder( please see the attached picture).

I could possibly look into sending you via email some of our (currently not publicly available but we are working on making it such) c# example code for basic uploading and starting of jobs. Would that help?

Regards,

Marko

Former Member
0 Likes

Yes I have that documentation, thanks. It is pretty useful.

It may be that all I need is more experience with workflows, processes etc. I have been given access to a VE generator test environment. Maybe after I have had some practice writing and testing some processes and so on some of these questions will answer themselves.

At this point in time my goal is simply to verify certain abilities exist and can be demonstrated, rather than achieve mastery, so any shortcuts to demonstrating an asset upload would be appreciated.

An example specifically calling an "Asset Upload" workflow would be great if you happen to have that, basically duplicating VEAccess's upload ability.

Barring that, any pointers on how to identify the arguments to a workflow that I would pass to JobStart?

Former Member
0 Likes

Hi Peter,

Please contact me on my email marko.laban@sap.com so that I can send you some sample code.

Kind Regards,

Marko

Former Member
0 Likes

Hi thanks. Marking this as answered. Reading the VEG administration help looks to be incredibly useful, including details of how to call the soap API for asset upload, and so many other things not in the soap API help.

I will definitely contact you for that code also. It might prove a huge timesaver to have a concrete example.