You need to sign in to do that
Don't have an account?
Savvy Admin
S-Docs following API cannot generate doc automatically with zero-click
Hi All,
I followed the instruction on the S-Docs documentation wrting something like
SDOC.SDBatch.createSDoc(UserInfo.getSessionId(),'id='+opp.id+'&Object=Custom_Opportunity__c&doclist=a07N0000006LbCU');
However, in my testing, the documents had never been generated.
I had a look at Apex job, it says something like
26/11/2015 4:35 PM Future Completed 0 0 0 Username 26/11/2015 4:35 PM SDBatch createSDoc 707N000000MAd2n
Do not know why it is future method and although it is completed, 0 batch was executed.
I had a try on
SDOC.SDBatch.createSDoc('',username,'id='+opp.id+'&Object=Custom_Opportunity__c&doclist=a07N0000006LbCU');
which is mentioned on the SDocs document. However, the system says there isn't a method can accept creatSDoc(string, string, string).
Is there anyone that are famliar with SDocs?
Thanks
I followed the instruction on the S-Docs documentation wrting something like
SDOC.SDBatch.createSDoc(UserInfo.getSessionId(),'id='+opp.id+'&Object=Custom_Opportunity__c&doclist=a07N0000006LbCU');
However, in my testing, the documents had never been generated.
I had a look at Apex job, it says something like
26/11/2015 4:35 PM Future Completed 0 0 0 Username 26/11/2015 4:35 PM SDBatch createSDoc 707N000000MAd2n
Do not know why it is future method and although it is completed, 0 batch was executed.
I had a try on
SDOC.SDBatch.createSDoc('',username,'id='+opp.id+'&Object=Custom_Opportunity__c&doclist=a07N0000006LbCU');
which is mentioned on the SDocs document. However, the system says there isn't a method can accept creatSDoc(string, string, string).
Is there anyone that are famliar with SDocs?
Thanks
After adding "&oneclick=1" in the line, I successfully created the document automatically.
From my point of view, the documentation is carelessly prepared. Perhaps SDocs will provide better documentation and better service for paid users?
Anyway, my problem is solved.