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
Changing the action the item name hyperlink point to
ATHANASSIOS_FAMELIARIS
Hello AllI have a question concerning the items in the Livelink menus. As you've probably noticed, their name has a hyperlink to some default action. For most items this is the 'browse' action, which results in displaying the contents of an action. Iitems that are not containers, such as the Text Document perform other actions. My question is: How does one specify the action that the name hyperlink points to? By default, when I create a container item this action is 'browse'. When I set the fContainer to false, there is no link. I would like to create an item that is not a container and has a link to the Properties action.Is there a feature os script in the WebNode or LLNode of my custom item which controls this?Thanks in advance!Ys
Find more posts tagged with
Comments
ATHANASSIOS_FAMELIARIS
I had completely forgoten about .fCmdNames.
Krishnankutty_Nair
If you are following the guidelines on builder developmentaka AddressBook module these may help.You basiclly instantiate a WebNodeCmd object(aka ADDRESSBOOK-AddressCmds->ItemsInfo).You set up .fName which is going to show up in your menu,.fQueryString to call your processing string(aka func=ll&objid=%1&objAction=ItemsInfo) and the _NodeTypes( things applicable to whatever node types).Once you click on the WebNodeCmd object it will rute to ADDRESSBOOK->WebNode Actions->ItemsInfo and its _SubclassExecute method.Regarding your container vs non-container I believe it has nothing to do with this since it is the _nodeTypes that prescribes bringing back your node.The .fCmdNames brings back stuff or scripts that OT has in place.I believe that is a way to go about it also but more complicated because you have to code your own Action-Whatver object.Once again take my advice with a pinch of salt as I am a recent convert to oscript and many experienced developers may chip in with their opinions.
ATHANASSIOS_FAMELIARIS
I think that for what I want, changing the fCmdNames is simpler. I don't want to be using any custom actions. I just want to see the items general properties page. This can be done by calling Action-Properties, which is allready there, so no extra coding is required.The only problem I now have is with LL explorer When I used the web interface, clicking on an instance of my custom item displays the properties page. However, when using the explorer, it just produces a permitions error: "Insuficient Permitions Error"and shows nothing, even though I am the creator of the document and administrator.Any ideas on this new issue? Again, my item is not a container and I've set the open cmd to "properties" in fCmdNames