November Happy Hour will be moved to Thursday December 5th.

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

Vote:
 

Hi, 

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 

#42910
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.