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

New Post: How to add a "internal link" field to Global Datatype

$
0
0
Hello,

I am new with Composite C1 and need a little help. I have created a Global Datatype call News and would like to add a InternalLink field. The field must contain either a DataReference<IPage> or DataReference<IMediaFile> ( a string with a /page(GUID) or /media(GUID) Url ). How can I do that?

If I add the field as a data reference to a C1 Page, composite creates a nice selector where all the created pages are avaible. Is it posible to create a selector showing both pages and media files?

Thanks!!

Viewing all articles
Browse latest Browse all 2540

Trending Articles



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