Try our conversational search powered by Generative AI!

Uppdatera dynamisk egenskap

Jag försöker uppdatera en dynamisk egenskap men det nya värdet sparas inte. Hur gör man för att spara det nya värdet? mvh Peter Eriksson, Sogeti // Hämta rootsida int nRoot = Convert.ToInt32(Global.EPConfig.ConfigFile.GetAppSetting("EPnStartPage")); PageReference rootRef = new PageReference(nRoot,true); PageData RootPage = Global.EPDataFactory.GetPage(rootRef); RootPage.Property["NumProducts"].Value = newVale;
Apr 07, 2005 13:59
You have to update the dynamic propery with the DynamicPropertyClass. Take a look in the SDK under DynamicProperty: DynamicProperty prop = DynamicProperty.Load(CurrentPage.PageLink,"MetaKeywords"); prop.PropertyValue.Value = "Keyword1,Keyword2"; prop.Save(); Einar
Apr 08, 2005 12:39
* 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.