Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I am updating a content dynamically using umbraco ContentService and used the below to update the content:
content.SetValue("currencyForPayments", "USD"); contentService.Publish(content);
(content is of type IContent)
content
IContent
Within the content I have 2 properties to update which are rendered as dropdown list on umbraco content edit page.
I can see that the xml in the db has been updated correctly for them eg.:
<currency> <![CDATA[USD]]> </currency> <currencyForPayments> <![CDATA[USD]]> </currencyForPayments>
However when I go to umbraco edit page both dropdowns show blank values selected - basically the value from xml is not selected in the dropdown.
I logged out and logged again but the problem persists.
The problem doesn't seem to be with the value rather umbraco not picking it up in the back office.
If I update these properties through back office - it works.
Any ideas how to fix it?
Anyone?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.
Continue discussion
Umbraco back office not selecting in dropdown property values added dynamically
I am updating a content dynamically using umbraco ContentService and used the below to update the content:
(
content
is of typeIContent
)Within the content I have 2 properties to update which are rendered as dropdown list on umbraco content edit page.
I can see that the xml in the db has been updated correctly for them eg.:
However when I go to umbraco edit page both dropdowns show blank values selected - basically the value from xml is not selected in the dropdown.
I logged out and logged again but the problem persists.
The problem doesn't seem to be with the value rather umbraco not picking it up in the back office.
If I update these properties through back office - it works.
Any ideas how to fix it?
Anyone?
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.