Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Multifield value in SPA angular component

rahulb31017943
Level 2
Level 2

Hi,

I have created a multifield angular component. I want to fetch the multifield value from the dialog and display it on the page since this is an angular component I cannot use sightly. How can I fetch these values.

Thanks in advance

1 Accepted Solution
KiranVedantam1992
Correct answer by
Community Advisor
Community Advisor

Hi @rahulb31017943,

 

For SPA, while using front-end technologies like REACT or ANGULAR, we do not use HTML or sightly to render the content. Instead, we create a component using REACT or ANGULAR.

 

To read the values in the dialog, we use the sling model exporter. Check an example here. Even though the blog gives a REACT example, it is more or less the same for angular as well.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

View solution in original post

1 Reply
KiranVedantam1992
Correct answer by
Community Advisor
Community Advisor

Hi @rahulb31017943,

 

For SPA, while using front-end technologies like REACT or ANGULAR, we do not use HTML or sightly to render the content. Instead, we create a component using REACT or ANGULAR.

 

To read the values in the dialog, we use the sling model exporter. Check an example here. Even though the blog gives a REACT example, it is more or less the same for angular as well.

 

Hope this helps.

 

Thanks,

Kiran Vedantam.

View solution in original post