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)
CSIDE and OScript
LiveLink Builder- Changing display of the Main page for the folders and sub-folders
Anquoc_Tran
Hi Can someone please let me know how to change the display of Node names with additional text on the header of the main page. Below is my folder structure:Main Folder => 4 DIGIT RECORD IDENTIFER => 8 DIGIT RECORD IDENTIFIERi.e. ? Applications? => ?1001? => ?10010021?The application record is an 8 digit identifier which appears in a hierarchical tree below a 4 digit group identifier (i.e. batches of 8 digit records which use the same 4 digit prefix).I have attached a folder structure screenshot for your reference. The red rectangle in the attachment is the 8 digit number taken from the current position in the folder hierarchy.Currently I managed to display the 8 digit number with some additonal text (eg: altered) on the header section of the main page with the below code:WEBDOC => DocNode = DocVolume => VolLibrary ==>_BrowseGUIComponentsSubclassguiComponents.title.SetTitle2( response.data.location[ -1 ].Name + 'altered' )But the problem is, if I add any additional text like 'altered' to the above piece of code it is getting displayed at all the folder or node levels (i.e., folders, sub-folders, sub-sub-folders etc...). I need to restrict it displaying the additional text only at the sub-sub-folder level (i.e., at the 8 digit number folder level).Any suggestions or help to point me in right direction is highly appreciated.Thanks
Find more posts tagged with
Comments
Greg_Griffiths_(ggriffiths_-_(deleted))
I guess you will need to work out a way of detecting where you are in the hierarchy and then if you are in the correct place use your amended version of the code, otherwise use the standard one.