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

How to Using dojo publish a topic from a CategoryNode property to another property to subscribe

Vote:
 

Hi,

I have two properties, where child widget depends on value selected in parent widget.

For example “CategoryNode" could publish topic with selected node whenever selected node changed. The “TechspecsAttributes" should subscribe to this topic and refresh the available options list when receives the event

My properties

Publish change

[UIHint(EPiServer.Commerce.UIHint.CatalogContent)]

pvirtual ContentReference CategoryNode { get; set; }

Subcrible

[CultureSpecific] [ClientEditor(SelectionFactoryType = typeof(TechspecsSelectionFactory))] [UIHint(GlobalValues.UIHints.IListDefault)]

public virtual IList<string> TechspecsAttributes { get; set; }

Can anyone give me a solution?

Thanks,

Thao Pham

#204444
Edited, Jun 01, 2019 5:47
* 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.