Hi,
It seems that it should be relatively simple to add existing propertyEditor such as FileUpload (in my case) but there are no documented steps to do so. Is this even possible. I would think yes. Why recreate an editor if you can just point to existing one and implement it in the Grid Layout? All the videos and documentation I have see so far tell you how to create a new Grid Editor or Modify config of existing one. Can anyone please point me(community) to the steps on hooking up the existing common or plug in property editor as grid editor please?
I recommend you not to made changes to the Umbraco core js files because if you upgrade your Umbraco installation then you need to remember to do the changes again.
Hi Dennis,
Thanks for quick reply. I don't need to create new editors I just need to add existing property editors as grid editors. I've seen this answer to many question and it is not really specific to what I am asking.
The example in the documentation shows how built in views are referenced. Can you try to add common File Upload property editor using the steps included in this documentation? If it works for you and you can see it as grid editor and actually render content using it please let me know. Based on this article it should not take you more then 5 minutes. So far I did not come across anything that would point me how to wire common property editors as grid editor. I just don't see the point of creating a new grid editor if there is a way to wire up the existing once just like rte example.
I don't think there is an easy way to do this. The property editors you talk about doesn't have any grid layout/view.
Property Editors exist in a page layout, but the grid editors have their own layout surrounding them to be able to exist inside the grid.
This surrounding layout allows the editor to be able to be drag-n-dropped etc.
I think you have to wrap them in a grid editor (if possible) to get them to work.
Adding Existing Property Editors as Grid Editor
Hi, It seems that it should be relatively simple to add existing propertyEditor such as FileUpload (in my case) but there are no documented steps to do so. Is this even possible. I would think yes. Why recreate an editor if you can just point to existing one and implement it in the Grid Layout? All the videos and documentation I have see so far tell you how to create a new Grid Editor or Modify config of existing one. Can anyone please point me(community) to the steps on hooking up the existing common or plug in property editor as grid editor please?
I think everyone will benefit from this.
Hi Ruslan,
Have you seen the documentation about the grid layout and how you can create grid editors
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/build-your-own-editor
And we also have a video chapter on Umbraco TV about grid editors https://umbraco.tv/videos/umbraco-v7/implementor/fundamentals/grid-layouts/introduction/
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/grid-editors
I recommend you not to made changes to the Umbraco core js files because if you upgrade your Umbraco installation then you need to remember to do the changes again.
Hope this helps,
/Dennis
Hi Dennis, Thanks for quick reply. I don't need to create new editors I just need to add existing property editors as grid editors. I've seen this answer to many question and it is not really specific to what I am asking.
So I still need help with this. Ruslan
Hi Ruslan,
I think this explains how you can use the build in data types in your gird layout.
https://our.umbraco.org/documentation/getting-started/backoffice/property-editors/built-in-property-editors/Grid-Layout/grid-editors
In the example above we are using the rich text editor view. And you can have a look in the /config/grid.editors.config.js
Hope this helps,
/Dennis
/Dennis
The example in the documentation shows how built in views are referenced. Can you try to add common File Upload property editor using the steps included in this documentation? If it works for you and you can see it as grid editor and actually render content using it please let me know. Based on this article it should not take you more then 5 minutes. So far I did not come across anything that would point me how to wire common property editors as grid editor. I just don't see the point of creating a new grid editor if there is a way to wire up the existing once just like rte example.
Still need help...
Is this how it works here?:) I am given two answers and if that does not resolve my issue I am on my own?
Dennis, Did you try to apply your recommendations to implement what I am trying to do? Anybody else is having this issue?
Hi,
I don't think there is an easy way to do this. The property editors you talk about doesn't have any grid layout/view. Property Editors exist in a page layout, but the grid editors have their own layout surrounding them to be able to exist inside the grid.
This surrounding layout allows the editor to be able to be drag-n-dropped etc.
I think you have to wrap them in a grid editor (if possible) to get them to work.
But I could be wrong.
/Martin
Maybe this package could be helpful
https://our.umbraco.org/projects/backoffice-extensions/leblender/
/Martin
is working on a reply...