Domanda

I am trying to backup the reports using SAP BO SDK in C#, but i am not able to figure out as to how to specify a location on disk.

È stato utile?

Soluzione

Your question is a little unclear, so my response will be somewhat generic.

If you are trying to copy a report in CMS to a different CMS folder, all you need to do is create a copy of the underlying infoObject, and set its parent_id to the id of the destination CMS folder (Alternatively, change the name of your copy). The location on disk is all managed by the input file server, so you don't need to worry about it.

If you need to backup the report somewhere on the server, you'll need to get a hook to the content stream and write it to a file as you would with any other stream. In this case, you are responsible for providing a file location and name.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top