SOProtocol - Create new Document with document.main[mode=new&edit=true] does not work

lock
push_pin
done
Beantwoord
2

Hi. According to this post, the bug 63033 should be fixed: 
https://community.superoffice.com/en/technical/forums/api-forums/online-web-services/opening-document-dialog-using-soprotocol-on-company-entity-level-broken-since-1038/

I still have problems with this in 10.3.11. A command below worked nice before - populating the dialogue with the correct company and template - allowing the user to fill inn information and create the document. Now the Company card changes to the specified contact_id, but the document-dialogue comes up with an existing document (the current I guess). 

The link we are using is: 
https://online3.superoffice.com/Cust0000/default.aspx?document.main[mode=new&edit=true]?document_id=0&contact_id=27130&person_id=32486&doctmpl_id=187

Is this another problem - or was it not solved. If there is required to change the URL - please advise me. 

13 nov 2024 | 09:17 a.m.

Alles Antwoorden (2)

I have beeen informed that I used the parameters wrong. The correct way is "new=true&mode=edit". Interesting that the "wrong parameters" has worked for several years in PageBuilder, but has stopped working when the dialogue has been implemented in SCIL. Anyway, the most important thing is getting it to work correctly... 

19 nov 2024 | 10:02 a.m.

Hi Atle,

Glad to know you got the soprotocol working in the end. The documentation has always listed the parameters in the correct way, so I'm not sure where the misinformation came from. If you ever run across the source for that, please let us know so that we can correct it there as well.

Yes, pagebuilder was very forgiving.

Best regards.  

19 nov 2024 | 10:11 a.m.

Reply toevoegen