Quantcast
Channel: C1 CMS Foundation - Open Source on .NET
Viewing all articles
Browse latest Browse all 2540

New Post: Error in my Custom Data Provider

$
0
0
I have one question though: I need to reference this new datatype, but I cannot seem to get it to be displayed among the available datatypes, when I create a field of the type "Data Reference". Do I need to modify some kind of configuration file, to make my custom data types available for use in the Console?
Add the following attributes to IRoleData:
[Title("Role")] // Type title that shown in dropdowns
[RelevantToUserType(UserType.Developer)] // Makes it appear in drop down, also adds build in generated functions like GetIRoleDataXml etc.

Viewing all articles
Browse latest Browse all 2540

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>