Clarity

  • 1.  Url or Icon link to external document.

    Posted Aug 07, 2014 11:17 AM


    Hi All

     

    I don't think this can be achieved in version 13.3 but I will pose the question anyway. I will however log it as an Idea for future releases.

     

    Is there any way we can create an attribute, doesn't matter which (apart from a URL attribute of course) and have a link or icon that we can click on and direct us to an external document for example a help guide instructing the user how to complete the field or fields

     

    Any advice would be greatly received

     

    Thanks   

    Stephen F



  • 2.  Re: Url or Icon link to external document.

    Posted Aug 07, 2014 11:28 AM

    Stephen,

    You can have an HTML portlet and have many links that are referenced that go internal company document site, help locations, etc. These could be code to handle an icon or a simple hyperlink. We do this quite extensively.

     

    Cheers,



  • 3.  Re: Url or Icon link to external document.

    Posted Aug 07, 2014 01:40 PM

    The technique detailed here TIP : How To Put Any Dynamically Generated Value On A Clarity Object can be used to put a hyperlink (to anywhere) on an object page. Text only though, not an icon, but could say "Click for help" for example. If your link is static, then its not even as complicated as described in the 'tip'.



  • 4.  Re: Url or Icon link to external document.

    Posted Aug 08, 2014 02:19 AM

    Dave,

     

    I was thinking about the icon url.

     

    If you loaded a set of icons in the knowledge store:

     

    ScreenHunter_31 Aug. 07 23.05.png

    You would be able to access them via there URL link.  For example the devil_smile.gif is located at this URL:

     

    https://cppm.ondemand.ca.com/niku/app?action=dms.viewFile&RhXm0r7tSeUqEr=true&fileId=5272209&fileName=devil_smile.gif

     

    So in your “How To Put Any Dynamically Generated Value On A Clarity Object” taking the following NSQL for dynamic links:

     

    SELECT 

    @SELECT:1:DUMMY@

    ,@SELECT:X.details:template_details@

    FROM

    (

    SELECT

    '<a href="'||T.template_link||'" target="_blank">Link to TEMPLATE</a>'

    END

    AS details

    FROM

    odf_ca_****** T

    JOIN odf_ca_YYYYYY R ON R.item = T.ID

    WHERE R.ID = @WHERE:PARAM:USER_DEF:INTEGER:object_id@

    UNION

    SELECT 'DUMMY' FROM DUAL

    WHERE @WHERE:PARAM:USER_DEF:INTEGER:object_id@ IS NULL

    ) X

    WHERE @FILTER@

     

    By modifying the following line from:

    '<a href="'||T.template_link||'" target="_blank">Link to TEMPLATE</a>'

     

    To

    '<a href="'||T.template_link||'" target="_blank"><img src="https://cppm.ondemand.ca.com/niku/app?action=dms.viewFile&RhXm0r7tSeUqEr=true&fileId=5272209&fileName=devil_smile.gif" />

    </a>'

     

    I would expect the devil_smile.gif icon to appear rather than the “Link to TEMPLATE” text link.

     

    V/r,

    Gene



  • 5.  Re: Url or Icon link to external document.

    Posted Aug 08, 2014 03:41 AM

    ^ ooh I like the sound of that!

     

    (I've added that info to the "tip" discussion)



  • 6.  Re: Url or Icon link to external document.

    Posted Aug 14, 2014 08:39 AM

    I like this too...



  • 7.  Re: Url or Icon link to external document.

    Posted Aug 14, 2014 08:39 AM

    Thanks Dave..Looked that this before and now going to implement your suggestion.