linkToItem in Related Items don´t work

Discussions about Forms Designer for SharePoint 2013 / 2016 and Office 365.
User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

18 May 2017

Hi,
Try to debug the code you use for redirection;
Make sure that form file 'fd_Handelspartner_aca4ff6b-971d-4c79-b874-02c8d2cb2bbd_DisplayForm.aspx' exists;
Try to execute fd.openForm from the browser console.

gaj
Posts: 40
Joined: Wed Feb 01, 2017

22 May 2017

Hi Dmitry,

All forms exists. Also fd.openForm in the browser console works fine.

You can reproduce this bug easy!!

Just put a ContentEditorWebpart on a standard-spform an use this Code for Redirect to a different spform according the logged in user-group:

<script type="text/javascript">
ExecuteOrDelayUntilScriptLoaded(function () {
fd.openForm(yourredirectform.aspx');
}, 'plumsail.fd.core.js');
</script>

On a different spform you have a related Item with a Link to the redirected Item which is desicribed above!
Then you get the described white window!!!

lg.
Johannes

User avatar
Dmitry Kozlov
Site Admin
Posts: 1524
Joined: Thu Jun 07, 2012

23 May 2017

Works fine for me.
1. Make sure that the content of the Content Editor Web Part is specified as a Content Link and stored in a separate file.
2. Possibly, you just have too long URL. Try to change 'redirect' script this way:

Code: Select all

<script type="text/javascript">
ExecuteOrDelayUntilScriptLoaded(function () {
fd.openForm('yourform.aspx', {Source: ''});
}, 'plumsail.fd.core.js');
</script>
If it does not help, please, purchase 60 support minutes and provide temporary access to the site:
https://spform.com/buy/support-maintenance

gaj
Posts: 40
Joined: Wed Feb 01, 2017

24 May 2017

Hi Dmitry,
..the URL was too long
thx.

Locked
  • Information
  • Who is online

    Users browsing this forum: No registered users and 5 guests