Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  1. Create a GES that will only "display" if the page is a Primo services page
    1. When you create a GES, you can add rules that determine when the GES displays.  There are many different rfr values that can be used as "conditions" for whether a GES will display.  In this case, we want to check if the rfr_id contains a value that shows that the page comes from an openurl link (i.e. is a Primo Services page).  
    2. Note: Using the value above is just an example.  If you have 3 resources that link out to Primo Services, I would suggest looking at each link, determining an "rfr" value that is similar between these links but differs from a direct Primo link, and use that as your criteria for what is a Primo Services page.  2  
  2. Let's call the GES that we just created "Hide CSU+ link if this is a Primo Services page".  Set the "IsDisplay" value for the GES to True.  If you look at any Primo Service page links at this point in the process, you should see the "Hide CSU+ link if this is a Primo Services page" link appear.  Note that if you see this link on any Primo pages, there is a problem with your Input Parameters for the GES.  It's somehow not isolating to Primo Services page links.  Try and narrow your conditions in your Input Parameters and try again if you run into this issue.  
  3. Now that we are correctly identifying a page that is a Primo Services page, we can hide the CSU+ link based on this criteria, in the form of hiding the GES. 
  4. In your Display Logic rules, let's add a rule to hide the Resource Sharing (CSU+) link if the GES "Hide CSU+ link if this is a Primo Services page" is present.  This will make it so that the CSU+ link never displays for the Primo Services page. 
  5. See rule here:

    No Format
    Hide service Resource Sharing Request with Resource Sharing System = Alma if exists service General Electronic Service with Service = Hide CSU+	link from the Primo Services Page


  6. At this point you should not longer see a CSU+ link on any Primo Services pages.  However, you will still see the "Hide CSU+ link if this is a Primo Services page" link!  Remember that we created this link solely as a dummy link to provide us with the information about if we're on a Primo Services page or not.  So, let's hide this link permanently, because it's just a tool that we're using to identify if a page is a Primo Services page:

    No Format
    Hide service General Electronic Service with Service = Hide CSU+ link from the Primo Services page

    Note that because our prior rule depends on the precense of our GES, the final rule must appear below the "Hide service Resource Sharing Request..." rule in order for all rules to be applied in the order you expect.  

...