Discussions
Categories
Groups
Community Home
Categories
INTERNAL ENABLEMENT
POPULAR
THRUST SERVICES & TOOLS
CLOUD EDITIONS
Quick Links
MY LINKS
HELPFUL TIPS
Back to website
Home
Content Management (Extended ECM)
API, SDK, REST and Web Services
Dynamically building an attribute dropdown list
Robert_Krystal_(calgaryuser5_-_(deleted))
We have set up a category with a document type attribute. When one of our users enters a document he/she must select the type of document from the dropdown list. The problem is, that dropdown list will be different depending on where the user is adding the document. Instead of having multiple categories that are virtually identical except for their dropdown values, we would like to have one category that we could alter the dropdown list for the document type attribute. Does anyone have any ideas on how we could accomplish this? I assume that I could just modify an html file that builds the pick list so that it reflects the parent node but I am not sure what object to orphan. Do I need to create a new attribute (llattribute) or do I have to orphan the webattribute object? I would appreciate any suggestions.Thanks,Greg
Find more posts tagged with
Comments
eLink User
Message from Hans Stoop via eLinkGreg,In the preview center on the knowledge center some additionalattribute types are available. From these example it should be prettystraight forward to determine how to create your own new attributetype.Hans Stoop--------------Visit the Solution Catalog at
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=2277625&objAction=browse&sort=nameConsultant
Partner Programs Europehstoop@opentext.com+31 23 5652333
http://www.opentext.com/>
; -----Original Message-----> From: knowledge@opentext.com> [mailto:knowledge@opentext.com]On Behalf Of> eLink Discussion: Development Discussion> Sent: donderdag 15 februari 2001 23:13> To: eLink Recipient> Subject: Dynamically building an attribute dropdown list>>> Dynamically building an attribute dropdown list> Posted by CalgaryUser5 on 02/15/2001 05:08 PM>> We have set up a category with a document type attribute.> When one of our users enters a document he/she must select> the type of document from the dropdown list. The problem> is, that dropdown list will be different depending on where> the user is adding the document. Instead of having multiple> categories that are virtually identical except for their> dropdown values, we would like to have one category that we> could alter the dropdown list for the document type> attribute. Does anyone have any ideas on how we could> accomplish this? I assume that I could just modify an html> file that builds the pick list so that it reflects the> parent node but I am not sure what object to orphan. Do I> need to create a new attribute (llattribute) or do I have> to orphan the webattribute object? I would appreciate any> suggestions.>> Thanks,> Greg>> [To reply to this thread, use your normal e-mail reply function.]>> ============================================================>> Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe?func=ll&objId=786303&objAction=viewLivelink
Server:
https://knowledge.opentext.com/knowledge/livelink.exe
BSandUser4_(Delete)_567006
I think you only need to modify /webdoc/html/attributes.html file. Once you get the webnode( webNode = wNode.WebNodes.GetItem( .fNode.pSubType ) ), you can find the parentNode by calling DAPI function. Then pick list by different parentNode.