Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
How to change content node icon by API?
This works
var contentType = ApplicationContext.Current.Services.ContentTypeService.GetContentType(1066); contentType.Icon = "icon-wrench"; ApplicationContext.Current.Services.ContentTypeService.Save(contentType);
You can get the name of the icon by hovering over it.
edit: This appears to be a list of the icon names as well - https://nicbell.github.io/ucreate/icons.html
I'll try. Thanks.
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to change content node icon by API?
How to change content node icon by API?
This works
You can get the name of the icon by hovering over it.
edit: This appears to be a list of the icon names as well - https://nicbell.github.io/ucreate/icons.html
I'll try. Thanks.
is working on a reply...