volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

volume_up

A critical vulnerability was discovered in React Server Components (Next.js). Our systems remain protected but we advise to update packages to newest version. Learn More

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;
#12253
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
#13925
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.