Loading...

RE: Help with sessions

RE: Help with sessions

#7179
Anonymous
Anonymous
Participant

Hi ,

I think you can achieve that with session if I understand your scenario well. You mean you need to pass two fields to qListForm with session?

As I said above, you can use the ‘LinkTo’ with the ‘Set Session Name’ settings. For example, you set the ‘Set Session Names’ to ‘MoveFormSession’,

Then configure one of the field with the ‘LinkTo’ setting, like the ID field, then set the URL to the ‘LinkTo’. That all for the qListView;

Next is for the qListForm, edit the ‘Location’ field, change the ‘Field Type’ to ‘Consume value form a session’, click ‘New Session’, ‘Name’ -> ‘MoveFormSession’(the same with qListView), Site URL -> [the list URL, you can use ‘.’ If they are under the same site], ‘List Name’ -> [the list you are configured in qListView], ‘Consume Session Display Field Name’ -> ‘Location’, check ‘Allow Edit’; and it is the same settings for the ‘Parent’ field except the ‘Consume Session Display Field Name’.

Now you click clicke the ID field, and then will navigate to the qListForm page, and the qListForm can consume the session. You may noticed that you just configure one ID field with the ‘LinkTo’ setting in qListView, but the qListForm can consume the other fields. The reason is qListView will populate the whole row of the items(including the fields you don’t configure them as display fields) into the session.

For more details, you can click the question mark in the top of the ezEdit to get the online help document.

About your another questions:

  1. Yes, the session can exist over different pages, it is maintained by server side.
  2. I don’t understand your question:” Can you send the ID selection to a qListForm as a session instead of a URL?”