dbr.url open link in current window?

(5 posts) (2 voices)

Tags:

No tags yet.

  1. ChrisFSB, Member

    I'm using dbr.url to redirect the user to a page in our ordering system.

    Is there an embed_target that will cause the browser to load the target URL in the current window vs opening a new one? I reviewed the various options but could not see one.

    select 'dbr.url', 'https://myhost.mydomain.com/#!/top/myPage?id=', '', '[Edit]', 'new_window', '<=id';

    Thanks, Chris

  2. myDBR Team, Key Master

    Hi,
    dbr.url by default opens the URL to the current page. Just remove the new_window option from your command (it makes the URL to open in new window).

    --
    myDBR Team

  3. ChrisFSB, Member

    The gotcha is that the report is being shown in an iFrame; so I need to get the parent window to reload. (Sorry, I forgot to mention this important detail).

    I was playing with the javascript command (to trigger the window to reload); but unsure how to link that into the "Edit" link.

  4. myDBR Team, Key Master

    Chris,
    if you run the automatic updater, you can use new target parent_window or top_window.

    Note that you can also include the column references directly to the URL (easier with complex URLs).

    select 'dbr.url', 'https://myhost.mydomain.com/#!/top/myPage?id=[id]', '', '[Edit]', 'parent_window';

    --
    myDBR Team

  5. ChrisFSB, Member

    Thank you, thank you! This was exactly what I was hoping for - really appreciate the enhancement!

    Chris


Reply

You must log in to post.