Try our conversational search powered by Generative AI!

CMS 12 custom editordescriptor widget

Vote:
 

Hi there,

 

We are trying to implement an icon picker EditorDescriptor widget as described in this article (https://blog.lethargic.dev/font-awesome-episerver-property/) but when we get to the step called "Your first widget" and go into EPi Edit Mode we only see the widget as a standard string property. It doesn't seem to locate the js file we've set up. The documentation for creating your own module seems very limited but perhaps there is some documentation or guide that we've failed to locate.
We can see in the ouput that the module is added and the Json Serializer gets resolved.

We are trying to build this for CMS 12 and pack it as a nuget package to easily implement on several projects.

 

Any tips on how to fix this and proceed?

#318608
Mar 07, 2024 13:01
Vote:
 

Hi Dennis,

Sounds like it could be your UIHint is not applied correctly.

Could you make share some of the code you have implemented and the community can then take a look?

If you fire it over on github or something that would be even more helpful.

I have it almost all work though it has been quite painful and alot of errors in the console.

Paul

#318650
Mar 08, 2024 11:18
Vote:
 

Hi Dennis,

I have uploading a working solution for you on github checkout https://github.com/paulmcgann/playground.

I have added the property to the startpage.

Here it is in action:

#318656
Edited, Mar 08, 2024 13:57
* 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.