automatic forwarding
Hello,
I use the search SharePoint. After I click on a result, I'm on a display form (display form 1).
Now I must click on a link to get to another display form (display form 2).
How can I, when I am on the display form 1, immediately jump to the display form 2?
I mean an automatic forwarding, without me having to click on the link.
Thank you so much!
I use the search SharePoint. After I click on a result, I'm on a display form (display form 1).
Now I must click on a link to get to another display form (display form 2).
How can I, when I am on the display form 1, immediately jump to the display form 2?
I mean an automatic forwarding, without me having to click on the link.
Thank you so much!
If the two display forms are within the same list, you can use:
Where "fd_Item_DisplayForm2.aspx" is the filename of the target display form (can be checked in Forms Designer in the bottom left corner.)
Otherwise, use the url from the link and direct the browser to it:
Code: Select all
fd.openForm('fd_Item_DisplayForm2.aspx');
Otherwise, use the url from the link and direct the browser to it:
Code: Select all
var url = "https://domain/Lists/alist/fd_Item_DisplayForm.aspx?ID=1"
window.location.href = url;
-
- Information
-
Who is online
Users browsing this forum: No registered users and 7 guests