Developer forum

Forum » CMS - Standard features » Session variables documentation

Session variables documentation

Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

Hi,

 

I remember about a list of the Session and Code variables we could use. I need to update it on a Data List. Did this documentation went away?

 

I am mostly looking for a way to get the Primary user's Customer Number.

 

I tried to use Repositories for Orders data, but because of the 5min waiting period for them to be rebuilt but it's not acceptable so I have to use Data Lists.

 

Best Regards,

Nuno Aguiar


Replies

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply
This post has been marked as an answer

Not sure if this is what you are looking for but there is a list of context sensitive values in the Integration module

https://doc.dynamicweb.com/documentation-9/integration/data-integration-module/data-integration-module#sideNavTitle1-3


Votes for this answer: 1
 
Nuno Aguiar Dynamicweb Employee
Nuno Aguiar
Reply

HI Unnsteinn,

 

That is exactly what I was looking for, but could not find it. Unfortunately the @User() does not work with DataList, but a collegue helped me with an obvious workaround, which was to join with the AccessUser table (since using @Session("DW_extranet_AccessUserID") we can get the UserID) to get the CustomerNumber.

 

 

Thanks anyway,

Nuno Aguiar

 
Unnsteinn Garðarsson
Unnsteinn Garðarsson
Reply

Good to hear, glad I could be of any help

 

You must be logged in to post in the forum