url to 'latest instance' of a report object

Hope someone has the answer…I’ve tried to find documentation on this.

Working with urls…
I have the url to open a specific report, but versus running/opening the report (parent id) I’d like the url to point to the latest instance…without hardcoding the instance id everytime.

Your help is much appreciated!

Thanks,
Tammy :slight_smile:


nilknarf01 (BOB member since 2008-09-25)

Try adding sInstance=Last to your openDocument code


tmarion :us: (BOB member since 2002-08-20)

you are correct; &sInstance=Last works like a charm! :slight_smile:

Thanks so much!
Tammy


nilknarf01 (BOB member since 2008-09-25)

But beware !

When there are no instances of a report the Report Link URL fails altogether when executed. Not very thoroughly programmed I think. :roll_eyes:


BOEMan :netherlands: (BOB member since 2008-12-20)