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
Removing the rename command from the function menu
ATHANASSIOS_FAMELIARIS
Hello all!The title is pretty much self-explanatory. How can I remove the rename command from the funciton menu of items? If it is not possible, can I at least remove the commend from my custom nodes?
Find more posts tagged with
Comments
John W. Simon, Jr.
quick and dirty way - under webnode, webNodeCmd, you will find a cmd for Rename. Change enabled to false, you're done. Not supported by OT because you are changing core code.preferred way - over ride the rename webNodeCmd (orphan to your module, etc.) then change enabled to false. The trick is getting your Rename command registered after the Webnode's rename command...and I am not very good at that. Perhaps someone watching can lend a hand.Regards,JWS
Hans Stoop
Message from Hans Stoop via eLinkIf you orphan the rename command into your module, then your module isalways initialized after the original.Maybe you can create a patch to set fEnable to False.Hans > -----Original Message-----> From: eLink Discussion: Development Discussion > [mailto:development@elinkkc.opentext.com] > Sent: donderdag 16 maart 2006 15:05> To: eLink Recipient> Subject: re - remove rename> > re - remove rename> Posted by Simon, John on 03/16/2006 09:00 AM> > quick and dirty way - under webnode, webNodeCmd, you will > find a cmd for Rename. Change enabled to false, you're done. > Not supported by OT because you are changing core code.> > preferred way - over ride the rename webNodeCmd (orphan to > your module, etc.) then change enabled to false. The trick > is getting your Rename command registered after the Webnode's > rename command...and I am not very good at that. Perhaps > someone watching can lend a hand.> > Regards,> JWS> > [To reply to this thread, use your normal E-mail reply function.]> > ============================================================> > Topic: Removing the rename command from the function menu>
https://knowledge.opentext.com/knowledge/livelink.exe/open/4927163>
; > Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/livelink.exe/open/786303>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/livelink.exe>
; > To Unsubscribe from this Discussion, send an e-mail to > unsubscribe.development@elinkkc.opentext.com.> > >
John W. Simon, Jr.
Maybe the patch is the only way to go.Orphaning the command and setting it to False did not work (rename still there). I wonder if that is because setting it to false disables it vs. turning it off.Comments?
ATHANASSIOS_FAMELIARIS
Thank you all for the help. I really appreciate it!I wanted to do if the quickest way possible, and I could comprimise with removing the commands only from my custom nodes.I have one node from which everuthing else is orphaned. What I did is override the CMD (or CMDS, cant remember) script. There is a for loop in there which loops through all the commands. I added a condition on the command name and now the rename command does not appear on my nodes.Again, thanks for the help. I take note of your approaches for future use.