Custom Fields in Templates
I have inserted custom fields into the sf_meta_fields table as described in the article content post. How are the custom fields included in the UI frontend/backend and can the view BlogsBackendInsertPost template be extracted, customised and mapped.
Regards,
Neil
Hi nenwmn,
The Templates could not be extracted in the BETA version. You can create the dynamic field by using DynamicData facade
App.WorkWith().DynamicData().Type(typeof(NewsItem)) .Field().TryCreateNew("FirstName", typeof(string), ref changedDB).Done()
or using .MetadataManager.CreateMetafield which is the same.
All the best,
Ivan Dimitrov
the Telerik team
Hi,
With the upcoming release can the admin templates be extracted to add a custom server control to the BlogsBackendInsertPost template and override.
Regards,
Neil
Hi Neil,
Our plans are to provide the backend templates after the RC. There is a folder with external templates for the public controls in the SDK that you an use.
Sincerely yours,
Ivan Dimitrov
the Telerik team
Thanks Ivan,
Hi Neil,
We will provide the templates after the RC and I mentioned this at the beginning of my previous reply.
Greetings,
Ivan Dimitrov
the Telerik team
Thanks Ivan,
Hello Neil,
The concept is that we will have a built-in editor that will allow you to edit the control template directly in Sitefinity. I believe that we will manage to do this for the official release. For the time being you can copy all template from Reflector by using Telerik.Sitefinity.Resources dll.
Regards,
Ivan Dimitrov
the Telerik team
Hi Ivan,
Now can we edit the autogenerated backend views through the build-in editor? Is this feature available in the officicial release?
Thanks!
Hello Duneel,
You can edit most of the public widget templates though the built in widget template editor. The implementation for editing all templates is not scheduled yet and it is not in our plans for Q1 and Q2.
Kind regards,
Ivan Dimitrov
the Telerik team
Hi Ivan,
Could you please reply to the support ticket I've created below? I need some sample code and it is explained in the support ticket.
http://www.sitefinity.com/account/support-tickets/view-ticket.aspx?threadid=397808
Thanks,
Duneel
Hello Duneel,
I will get back to you in the support request you have opened.
Best wishes,
Ivan Dimitrov
the Telerik team