- This topic is empty.
- AuthorPosts
-
- 03/12/2015 at 6:04 am #7001
AnonymousParticipantAny progress on this question?
n
Thank you.
n
n
Trav
- 03/12/2015 at 7:48 am #7410
AnonymousParticipantHi
n
Sorry, I am sure I understand your scenario very well. The Link To setting in qListView can be set the HTTP parameter base on the other fields, but just for ShrePoint fields. The Workspace URL is not a native SharePoint field, it is our internal field which is dynamic generated by qListView.
n
I would like to suggest you can use the custom field as a workaround:
n
1. Click ‘Add Field’ in ‘Display Fields’ setting ;
n
2. Configure this field, set the ‘Calculated Value’ as a link for it, something like: <a href="./Custom/AllItems.aspx?initID=<%ID%>&source=<%Workspace URL%>/Lists/Custom/AllItems.aspx">MyEdit</a>
n
At that time, the Workspace URL can be replace to your field’s value.
n
- 03/17/2015 at 11:04 am #4619
AnonymousParticipantHi,
We are attempting to get the “GoBacktoSource” working properly from a qListView. In this particular case we are calling a qListForm that is based on a PARENT of the child list we are, we cannot use HTTP Parameter…we think.
First question – Can we control which column in a qListView the HTTP Parameter is based on? There is another ID field displayed in the list we would like to use. Or is that just set to the ID field of the primary SP List the qListView is based on?
Assuming the HTTP Parameter cannot be changed, we have added a custom column to the qListView called Edit. It will looks much the same as the out of the box Edit column, the plan is to use <%IDFIELD%> to replace the HTTP Parameter when calling the edit form.
Below is an edited version of the Link To syntax:
./SitePages/EDITPAGE.aspx?initID=<%IDFIELD%>&Source=hardcoded/.../SOURCEPAGE.aspx
In this case, the qListForm will open properly and when Closing, GoToSource properly. However, we have multiple environments and prefer to use relative links, not hard coded.
So we tried this:
./SitePages/EDITPAGE.aspx?initID=<%IDFIELD%>&Source=<%Workspace URL%>/SitePages/SOURCEPAGE.aspx
And
./SitePages/EDITPAGE.aspx?initID=<%IDFIELD%>&Source=<%Workspace URL%>/SitePages/SOURCEPAGE.aspx
Didn’t work. Workspace URL did not get replaced when the qListForm opened and therefore the Source value did not get set in URL.
Any advice?
Thank you,
- 03/17/2015 at 11:04 am #7006
AnonymousParticipantThank you
n
That did help.
n
n
-
- AuthorPosts
You must be logged in to reply to this topic.