devdoc

Thursday, May 19, 2005

Renditions

What is the API statement to queue an HTML rendition of a document?


queue,c,[object_id],dm_autorender_win31,
rendition, 0, F,, rendition_req_html:html:zip_html


And the DFC???

In Javadocs we find: IdfSysobject Method public IDfId queue(String queueOwner, String event, int priority, boolean sendMail, IDfTime dueDate, String message) throws DfException

This is, if we have a SysObj. We just need to call the method queue with the same parameters from the API statement.

   IDfId objId = new DfId(objectId);
IDfSysObject sysObj= (IDfSysObject) session.getObject(objId )

IDfTime dueDate= new DfTime("19/05/2005 11:33:00");
sysObj.queue("dm_autorender_win31","rendition", 0,
false,dueDate,"rendition_req_html:html:zip_html");


:)

0 Comments:

Post a Comment

<< Home