Is there a way to add a document object without a document? - I've a situation that initially while submitting few (document)objects doesn't have a document, later it can be edited and added.
You may create empty documents using the “CreateNewObject”browser command (see the “Web Interface Customization Guide” formore information):
/gm/CreateNewObject?object=<parent oid>&name=<name>&type=DocumentObject
Example:
http://localhost/gm/CreateNewObject?object=1.11.22210&name=test&type=DocumentObject
I would suggest creating a custom button and template to createthese empty documents.
-Curtis
From: eLink Entry:Vignette Collaboration Developers Forum[mailto:vignettecollaborationdevelopersforum@elinkkc.opentext.com] Sent: Tuesday, August 03, 2010 1:19 PMTo: eLink RecipientSubject: Is there a way to add a document object without a document?
Is there a way to add a document object without a document?
Posted by versatech.arumugam@mbusa.com (Arumugam, Saravanan) On 2010/08/03 15:18
[To post a comment, use the normal reply function]
Forum:
Vignette Collaboration Developers Forum
Livelink Server:
knowledge-wlweb01
Thanks. I do have some bunch of custom attributes to be associated with the objects how to do that? for example I tried this http://mbusahocol2/gm/CreateNewObject?object=1.11.68707&name=Mytest2&attr_value_Phone=1231231234&type=DocumentObject&customtypedefinition=1.11.24449, but the attributes are not created, is there any sample code for creating the button / template for this?
You need to specify “attrvalue_of_<name>”instead of “attr_value_<name>”. Please review the WebInterface Customization Guide for documentation on custom attribute parameters.
/gm/CreateNewObject?object=1.11.68707&type=DocumentObject&attrtype_of_Phone=String&attrvalue_of_Phone=1231231234&name=Mytest2
As for sample code, I would check the default templates forexamples on how to create a new button and new object templates. TheWeb Interface Customization Guide contains information on page layout andcustom button creation (search the doc for “customer_commandbarButton.shtml”).
From: eLink Entry:Vignette Collaboration Developers Forum[mailto:vignettecollaborationdevelopersforum@elinkkc.opentext.com] Sent: Wednesday, August 04, 2010 9:09 AMTo: eLink RecipientSubject: RE Is there a way to add a document object without a document?
RE Is there a way to add a document object without a document?
Posted by versatech.arumugam@mbusa.com (Arumugam, Saravanan) On 2010/08/04 11:07
Topic:
it works.. thank you very much