Sometimes you want your users to open the latest instance of a report and not the report itself.

Sadly, this option is set as a global default across Infoview – when you click on a report you can either open the report itself OR the latest instance.

CMS>MANAGE>APPLICATIONS>INFOVIEW>PREFERENCES

Default Viewing Action.JPG

Luckily there’s an easy workaround.

Create an OpenDocument link for your report, and include the &sInstance=Last parameter.

Then, create a new hyperlink in Infoview:

NEW>HYPERLINK

Insert your OpenDocument link into the URL and title as per the report.

Finally, use this hyperlink in place of the report (e.g move the report somewhere else and use the link in its place).

Easy huh? Hope you find useful 🙂

(note: may also work for 4.x, don’t have it to test, apologies.)

To report this post you need to login first.

2 Comments

You must be Logged on to comment or reply to a post.

  1. Thomas Nielsen

    Unfortunately this will fail if there is no instances at all.

    I personally would have liked the behaviour, that if no instances is available, you simple run the report, otherwise take the latest instance (if any).

    I have no idea if there is a workaround to this, but if there is is, I like to know it

    (0) 
    1. Neil Mitchell-Goodson Post author

      Yes it will – but I’d like to think that if you’re going to the trouble of setting this up, you’d do so in the knowledge that the report your link points to is going to have instances, otherwise, as you note, it’s a bit of a gamble and could fail.

      I can’t see any way to conditionally affect this behaviour, so I don’t believe there is a workaround. It would be nice to be able to effect this at the report level – open latest instance or report – and there may well be such an Idea at the Ideas place?

      Edit: This idea matches your requirement. Only got two votes though and is a couple of years old.

      BOE XI 3.1 – Global Setting: Open Last Instance Behavior : View Idea

      (0) 

Leave a Reply