Smart Notification Links

 9 Replies
 0 Subscribed to this topic
 14 Subscribed to this forum
Sort:
Author
Messages
BillW
Basic Member
Posts: 13
Basic Member
    I have a question about SN links.

    I have created a 'Summary' SN, which I have linked to a 'Detail' SN via one of the fields. This works, but the 'Detail' SN opens in a new window. I would like to have it open in a 'Viewer' module on the same dashboard.

    I understand the 'OnClick' action of the SN's, but there must be another method when trying to open it from another SN.

    Has anyone been successful in doing this?

    Thanks for any help.

    Bill
    Chris Martin
    Veteran Member
    Posts: 277
    Veteran Member
      The updatemodule function should work for this. Something like this:

      updateModule("viewmoduleid","detail sn link")
      BillW
      Basic Member
      Posts: 13
      Basic Member
        Hi Chris,
        Sorry for the long delay in responding...

        I too believe that would work, but what I haven't been able to figure out is where to put that updateModule code.

        I am linking from the 'Recommended Analyses' section (step 4) of the SN. I have chosen 'Other Link', and populated the 'Link To' field with the ID (34585) of the SN I wish to open. The only other options are 'Add Link To', 'Comment', and 'Window'. I have tried placing the updateModule code in the 'Window' field, but the SN still opens in a new window, not the module.
        Matthew Nye
        Veteran Member
        Posts: 514
        Veteran Member
          did you ever get a resolution for this? In the past when Ive done this Ive always initiated the link from the infoset by putting in the full efs url. One thing you will have to do is append the parent identifier to the updateModule:

          parent. updateModule("viewmoduleid","detail sn link")

          this tells it to look for the updateModule JS in EFS not SN. let me know if you need more detail.
          If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
          BillW
          Basic Member
          Posts: 13
          Basic Member

            I have not resolved this as of yet. 

            Would you enter this as an application link?

            I'd appreciate any help you could offer.

            Bill

            Matthew Nye
            Veteran Member
            Posts: 514
            Veteran Member
              >On step 3 add an Application link by clicking Add Class Link
              >Name doesnt matter, Class should be URL (case sensitive) and the url should be:

              parent.updateModule('id1234','lsn url')
              If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
              BillW
              Basic Member
              Posts: 13
              Basic Member

                Ok,

                I have created the Class Link, and have enabled the 'Link To' item (under Links to Applications within the SN).  But, the link fails when I choose the linkable item from the SN.  If I hover over the link, I can see that the link is preceded by 'http://server.domain.com:xxxx/lsn/servlet/', and then after that is the 'parent.updatemodule....' url.  I believe it would function if I could get rid of the first part of the url.

                Is that somehow tied to services?

                Thanks.

                Bill

                Matthew Nye
                Veteran Member
                Posts: 514
                Veteran Member

                  hmm, try checking the "Direct Link" check box in the Options section step 3 in the note.

                   

                  UPDATE:

                  Is the link specific to every line in the infoset?

                  If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/
                  BillW
                  Basic Member
                  Posts: 13
                  Basic Member
                    I don't see a 'Direct Link' box in Step 3. There is a 'Direct' checkbox in Step 4 under Customize Links. I get the same behavior either way.

                    The link isn't specific. I group within the SN by Territory (4 territories). I just shared an infoset that summarized by Customer. I could re-write it to group at the Territory level if you think that may be the answer.

                    Bill
                    Matthew Nye
                    Veteran Member
                    Posts: 514
                    Veteran Member
                      yeah sorry, its the one in step 4, i should have double checked before i posted.

                      If the link isnt specific to every record Id put it in the template. Create a separate template for this one and just add the follow in the section you want the link:

                      [script removed]
                      If any of my answers were helpful an endorsement on LinkedIn would be much appriciated! www.linkedin.com/pub/matthew-nye/1a/886/760/