31
MP Server / Re: How to delete single statements from a CMOD Load File
« on: January 20, 2020, 07:33:05 AM »
Hi ramakanth,
The answer depends a bit on what interface you plan on using.
The most straightforward method would be to find the document(s) you want to delete using arsdoc query with the -I p flags, or the -D flag which also includes some additional system metadata.
You could also use the OnDemand Client and just right-click on a document and select "Properties" to see the (partial) LoadID. (You can "pad" such partial LoadIDs with "-0-0-0" or search for the full LoadID in the OD System Log, which is better)
Or you could use the ODApi to call for such data.
I would strongly suggest against accessing the database directly. First for security reasons, and second if you plan to make changes directly to the database, that's a big no-no.
I suggest you try the arsdoc query method above and get back to us know if you need any more guidance.
The answer depends a bit on what interface you plan on using.
The most straightforward method would be to find the document(s) you want to delete using arsdoc query with the -I p flags, or the -D flag which also includes some additional system metadata.
You could also use the OnDemand Client and just right-click on a document and select "Properties" to see the (partial) LoadID. (You can "pad" such partial LoadIDs with "-0-0-0" or search for the full LoadID in the OD System Log, which is better)
Or you could use the ODApi to call for such data.
I would strongly suggest against accessing the database directly. First for security reasons, and second if you plan to make changes directly to the database, that's a big no-no.
I suggest you try the arsdoc query method above and get back to us know if you need any more guidance.