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
Help on adding a command to the Document and Version menu
Alexandre_Zbinden
Hello,I am not very experienced with OSpaces and this is why I would really need your help.- Some time ago I was required to add a new 'external' (URL to an .aspx page) command to both the Document Function... popup menu and the Document Version Function... popup menu.- At the time I managed to achieve that by orphaning all objects I needed into my OSpace untill it worked!...- Now I need to migrate to version 9.7. and, of course, my OSpace overrides the 9.7 'Document' with my (9.2) orphaned 'Document' (meaning no advanced versioning and **** knows what else is missiing).- Of course I can re-orphan the 9.7. 'Document' and so on, however I wonder if there is not a better way (less release dependent).- So I started a new OSpace and orphaned a WebNodeCmd, set the _NodeTypes = {144} (...) This works for the Document Function menu.- My problem is with the Document Version Function menu. I have tryed to add "versioninfo" to the _CmdTypes of my VersionWebNodeCmd but this adds the function to the 'Info' sub-menu of my version documents function menu....- I would like to avoid to orphan the 'Document' again just to override the 0Setup (1Setup) to modify the .fCmdNamesVersion.Is there a (simple and correct) way to override a feature of a core object (i.e. Document.fCmdNamesVersion) I would really appreciate your help (with some details, please, as I am not an OSpace insider).Thank you in advance.G?rard Braendlemailto:gerard.braendle@skyguide.ch
Find more posts tagged with
Comments
Hans Stoop
Message from Hans Stoop via eLinkAdding a function to the menu of a version is done by changing _CmdTypes() as follows:/*protected*/ function List _CmdTypes() return { \ 'version' \ }endhans > -----Original Message-----> From: eLink Discussion: Development Discussion > [mailto:development@elinkkc.opentext.com] > Sent: woensdag 24 januari 2007 16:36> To: eLink Recipient> Subject: Help on adding a command to the Document and Version menu> > Help on adding a command to the Document and Version menu > Posted by Zbinden, Alexandre on 01/24/2007 10:35 AM> > Hello,> > I am not very experienced with OSpaces and this is why I > would really need your help.> > - Some time ago I was required to add a new 'external' (URL > to an .aspx page) command to both the Document Function... > popup menu and the Document Version Function... popup menu.> - At the time I managed to achieve that by orphaning all > objects I needed into my OSpace untill it worked!...> - Now I need to migrate to version 9.7. and, of course, my > OSpace overrides the 9.7 'Document' with my (9.2) orphaned > 'Document' (meaning no advanced versioning and **** knows > what else is missiing).> - Of course I can re-orphan the 9.7. 'Document' and so on, > however I wonder if there is not a better way (less release > dependent).> > - So I started a new OSpace and orphaned a WebNodeCmd, set > the _NodeTypes = {144} (...)> This works for the Document Function menu.> > - My problem is with the Document Version Function menu. I > have tryed to add "versioninfo" to the _CmdTypes of my > VersionWebNodeCmd but this adds the function to the 'Info' > sub-menu of my version documents function menu....> > - I would like to avoid to orphan the 'Document' again just > to override the 0Setup (1Setup) to modify the .fCmdNamesVersion.> > Is there a (simple and correct) way to override a feature of > a core object (i.e. Document.fCmdNamesVersion) > > I would really appreciate your help (with some details, > please, as I am not an OSpace insider).> > Thank you in advance.> > G?rard Braendle> mailto:gerard.braendle@skyguide.ch> > > [To reply to this thread, use your normal E-mail reply function.]> > ============================================================> > Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/llisapi.dll/open/786303>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/llisapi.dll>
; > To Unsubscribe from this Discussion, send an e-mail to > unsubscribe.development@elinkkc.opentext.com.> > >
Alexandre_Zbinden
Thank you very much Hans,It's perfect.... It would be nice if this kind of small customizations of the interface where documented in some Application Note.G?rard,
Alexandre_Zbinden
Thank you very much Hans,It's perfect.... It would be nice if this kind of small customizations of the interface where documented in some Application Note.G?rard,
Hans Stoop
Message from Hans Stoop via eLinkI personally find it easier to look at the Livelink code.Hans > -----Original Message-----> From: eLink Discussion: Development Discussion > [mailto:development@elinkkc.opentext.com] > Sent: donderdag 25 januari 2007 9:00> To: eLink Recipient> Subject: Thank you very much Hans,> > Thank you very much Hans,> Posted by Zbinden, Alexandre on 01/25/2007 02:56 AM> > Thank you very much Hans,> > It's perfect.... > It would be nice if this kind of small customizations of the > interface where documented in some Application Note.> > G?rard, > > [To reply to this thread, use your normal E-mail reply function.]> > ============================================================> > Topic: Help on adding a command to the Document and Version menu>
https://knowledge.opentext.com/knowledge/llisapi.dll/open/10476558>
; > Discussion: Development Discussion>
https://knowledge.opentext.com/knowledge/llisapi.dll/open/786303>
; > Livelink Server:>
https://knowledge.opentext.com/knowledge/llisapi.dll>
; > To Unsubscribe from this Discussion, send an e-mail to > unsubscribe.development@elinkkc.opentext.com.> > >
Louis_Routhier
Would it not be because you work in it all day long? :PDocumentation is NEVER a bad thing I think.G?rard: now that you have learn a new thing, why not share it with other developers on the wiki?
http://communities.opentext.com/communities/llisapi.dll/wiki/162164/Developer-Builder