customize the Content Server 16.2 classic  View

Options

We want to customize the Content Server 16.2 classic  View . simply I want to add anew link under “Add Item ” Menu when the user click the link then a new external page will be displayed.

 

Any one has an idea how to di this?

Comments

  • Hi Essam,

    If you have ActiveView, you can override the Add Item menu with xml declaration.

    Regards,

  • Thanks Khurram 

    can you pls share more details 

    Quoted Khurram Shahzad on 12/24/2018 02:06 AM:

    Hi Essam,

    If you have ActiveView, you can override the Add Item menu with xml declaration.

    Regards,

  • Hi Essam,

    This is what you'll need to do:

    1) Determine the scope of this customization. Do you need this new object under just the Add Item menu in a specific location, or globally? Let's assume you want to make it global.

    2) Under Add Item, add a new "ActiveView" object. In the creation screen for this object, under predefined template, select "add_item_menu_sample", to get started.

    Note, users will need permissions to the obejct in order to have it display for them, once you select it. ActiveView is all rules based.

    3) Edit the template, and change it to add in your command, whatever it may be:

     

    <?xml version="1.0" encoding="utf-8" ?>
    <overrides>
        <override type="additem">
            <commands>
                [// Example of adding a link to your own website, first on the list of items.
                <additem newItem="YourWebsite" newOrder="1" newImg="[LL_REPTAG_SUPPORTDIR /]some_image.png" newURL="https://www.your_internal_website.com" />
            </commands>
        </override>
    </overrides>

     4) You need to apply this in the correct location, let's say, globally. Go to the Content Server Admin pages.

    5) Go to ActiveView Administration > Enable or Disable ActiveView Override Types (?func=activeview.ManageSettings). This needs a services restart to enable/disable, so this would require maintenance.

    6) When your override type is enabled, go to Manage Global ActiveView Overrides (?func=activeview.GlobalOverrides), and then select your add item menu override object under miscellaneous component modifications.

    Voila, you now have a new item in the Add Item Menu.

     


    As a rule of thumb, anything you can imagine in WebReport syntax, can, to an extent, be done in ActiveView. So, you've many options when AV is involved, usually.

  • Thanks alot it work perfectly. one more last question please. now i want to pass the parent folder ID, user name , password to the new displayed page. What is the best way to do such parameters passing?

    Thank you for your great support.

  • hi @Nizar Ghazal how to make it open in a new tab target="_blank" is not working