Developer forum

Forum » CMS - Standard features » Extranet App cant edit User Items

Extranet App cant edit User Items

Eva Marie Agerlund
Reply

Hi!

I have made a User Item with some fields and attached it to my user group.

I need to be able to edit the value of these item fields from the frontend using the Extranet app, just as I can edit the standard user fields the same way.

But the values are not being posted to the fields, even though I'm using the SystemName for the fields.

Example: My item field's system name is "Facebook" and it's a text-field.
My input field looks like this:

<input type="text" name="@GetString("UserManagement:User.Item.Facebook.SystemName")" id="@GetString("UserManagement:User.Item.Facebook.SystemName")" value="@GetString("UserManagement:User.Item.Facebook")" class="form-control"/>

Rendered it looks like this:

<input type="text" name="Facebook" id="Facebook" value="fbtest1" class="form-control" aria-invalid="false">

But when editing the field on the frontend through the Extranet app the value does not get posted to the field.
The standard fields are no problem, these work fine.


Replies

 
Nicolai Pedersen Dynamicweb Employee
Nicolai Pedersen
Reply

Item fields for users cannot be edited in the frontend.

You would have to do something custom to save those fields.

 

You must be logged in to post in the forum