Comments (3)
@ninjaonsafari Did you read my answer here: skybrud/Skybrud.Umbraco.GridData#10 ?
Even though I don't know about LeBlender specifically, you need to create a converter (implementing the IGridConverter
interface in my package), that handles your custom editors. Otherwise my package doesn't now how to handle/parse the value of a given control, and the token.Value<LeBlenderValue>()
will simply return null
.
from leblender.
@abjerner i did read your answer. Here is what i've got https://github.com/ninjaonsafari/Opten.Umbraco.GridData.LeBlender
from leblender.
here is the token i get from the GridData extension. I want to parse this to LeBlenderValue
.
{
[
{
"image":{
"value":"1066",
"dataTypeGuid":"93929b9a-93a2-4e2a-b239-d99334440a59",
"editorAlias":"image",
"editorName":"Image"
},
"title_en":{
"value":"Glatt",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_en",
"editorName":"Title"
},
"title_de":{
"value":"Glatt",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_de",
"editorName":"Title"
},
"title_es":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_es",
"editorName":"Title"
},
"title_it":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_it",
"editorName":"Title"
},
"title_fr":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_fr",
"editorName":"Title"
}
},
{
"image":{
"value":"1066",
"dataTypeGuid":"93929b9a-93a2-4e2a-b239-d99334440a59",
"editorAlias":"image",
"editorName":"Image"
},
"title_en":{
"value":"Fugenlos",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_en",
"editorName":"Title"
},
"title_de":{
"value":"Fugenlos",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_de",
"editorName":"Title"
},
"title_es":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_es",
"editorName":"Title"
},
"title_it":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_it",
"editorName":"Title"
},
"title_fr":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_fr",
"editorName":"Title"
}
},
{
"image":{
"value":"1066",
"dataTypeGuid":"93929b9a-93a2-4e2a-b239-d99334440a59",
"editorAlias":"image",
"editorName":"Image"
},
"title_en":{
"value":"Bunt",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_en",
"editorName":"Title"
},
"title_de":{
"value":"Bunt",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_de",
"editorName":"Title"
},
"title_es":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_es",
"editorName":"Title"
},
"title_it":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_it",
"editorName":"Title"
},
"title_fr":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_fr",
"editorName":"Title"
}
},
{
"image":{
"value":"1066",
"dataTypeGuid":"93929b9a-93a2-4e2a-b239-d99334440a59",
"editorAlias":"image",
"editorName":"Image"
},
"title_en":{
"value":"Flexibel",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_en",
"editorName":"Title"
},
"title_de":{
"value":"Flexibel",
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_de",
"editorName":"Title"
},
"title_es":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_es",
"editorName":"Title"
},
"title_it":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_it",
"editorName":"Title"
},
"title_fr":{
"value":null,
"dataTypeGuid":"0cc0eba1-9960-42c9-bf9b-60e150b429ae",
"editorAlias":"title_fr",
"editorName":"Title"
}
}
]
}
from leblender.
Related Issues (20)
- Need to cache call to PluginManager.Current.ResolveTypes
- How to get value from Umbraco.DropDown.Flexible HOT 1
- Need a reliable way to detect whether a node has been saved within a leblender partial
- Preview doesn't work if requesting node by guid instead of id
- Changes to grid.editors.config.js file can be lost in Umbraco Cloud HOT 2
- Umbraco V8 Support HOT 49
- Regarding LeBlender HOT 1
- Umbraco Security Hardening With Leblender HOT 2
- Partial grid editor being returned from Umbraco backoffice HOT 1
- Custom properties broken? -- 1.0.9.2 (from NuGet) on Umbraco 7.7.7 HOT 4
- When a new property is added to a LeBlender grid editor, it breaks editing HOT 6
- No input fields visible after fresh install on Umbraco 7.9.2 HOT 3
- LeBlender injects Bootstrap Styles into Backoffice HOT 3
- Caching shows first editors content in all other editors place HOT 6
- Links in admin tree is not working after few clicks with leblender 1.0.8.4 HOT 1
- LeBlender Editor top-level property on whole set of items HOT 2
- Cache by member HOT 7
- Confusing property editors HOT 5
- Automate deployment
- Cell / Row config HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from leblender.