Vulnerability in EPiServer.Forms

Try our conversational search powered by Generative AI!

Attribute value not showing in Edit, when using SiteHandler.CurrentSite



Having a problem with a Relate attribute not showing in Edit mode when suppling SiteHandler.CurrentSite to the SetAttributeValue method.

If I set the attribute with this:

user.SetAttributeValue("EPiServerMailSubscriber", SiteHandler.CurrentSite, newsletter);  

(newsletter is a bool) the value isn't shown in edit mode.

If I on the other hand add the value like this:
user.SetAttributeValue("EPiServerMailSubscriber", newsletter);

the value is shown in Edit mode.

It doesn't matter if I have one or more sites, I still get the same problem.

Has anyone experienced the same issue before?


// Regards, Torbjörn 

Sep 06, 2010 16:18
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.