Highlighted

How can we create a Path Browser widget using Coralui3 API?

Avatar

Avatar

divyak96999766

Avatar

divyak96999766

divyak96999766

08-02-2019

Hello,

In reference to Documentation | CoralUI , we have the procedure to create Coral Textfield, Text Area and various other widgets. But, I have a requirement to create Path Browser widget the same way. Can someone please help me out in this regards.

Thanks

Divya

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

08-02-2019

See this HELPX Article - we show you how to use these common granite types while developing AEM Components.

Building Experience Manager Components using Granite/Coral Resource Types

PathBrowser.png

Highlighted

Avatar

Avatar

divyak96999766

Avatar

divyak96999766

divyak96999766

10-02-2019

Hi smacdonald2008,

I am not looking for a solution using resourceType but by using js.

Eg : to create a textfield we can use -

var textfield = new Coral.Textfield().set({});

In a similar way do we have any method to create pathbrowser?

Thanks!

Highlighted

Avatar

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281

Avatar

Gaurav-Behl

MVP

Total Posts

1.1K

Likes

226

Correct Answer

281
Gaurav-Behl
MVP

12-02-2019

Could you share more details about your use case? Do you plan to use the same in a dialog or some custom component?

You may follow OOB pathbrowser source code, copy its js code to achieve what you want.