Comments (5)
Hello @timfenton! I just updated the add-on to v13 to support snippets. They should be generated the same as any other element I don't think there should be any issues with naming 😏
You might need to re-install the add-on to test it. Let me know if it works for you!
from kontent-google-sheets-add-on.
thanks @kentico-ericd ! So fast...
How would you expect an sheet to be formatted to import content + snippet? here is an example of how our sheets are currently formatted:
name | contentcard__headline | contentcard__description
My Product | My Product Headline | My Product Description
My hope was it would recognize that contentcard__headline is a content-type snippet field, not a field directly on the content-type, but it doesnt seem to import the data. Should i format the data differently? or, do i need to create the product feature content item first and then get the GUID for a contentcard item and send the data for that separately using the new snippet endpoint?
Thanks again!
from kontent-google-sheets-add-on.
Are you using the Generate option in the add-on, or manually specifying the headers?
The format for snippet headers should just be the code name of the snippet element. For example, I tested using the Metadata snippet in the sample project. The code name of one of the elements is metadata__meta_title
That's the same as what the add-on generates, and importing this row worked for me:
from kontent-google-sheets-add-on.
I was not using the generate, but I was using the codenames as the headers.
actually, the issue was that i did not have en-US as a localization in the project, instead it was just "default" so it just created a content item without translation so i think this caused an issue when trying to save the content snippets. as soon as i created an en-US localization and specified it the issue went away and gave me a new issue where the the rich text was not encapsulated in some Kontent-supported tag, which I was able to workaround 👍
you the best @kentico-ericd
from kontent-google-sheets-add-on.
Hmmm... maybe it needs better messaging/error handling for the language issue 🙄 Thanks for testing it out though, enjoy Timmy boy!
from kontent-google-sheets-add-on.
Related Issues (16)
- Support for assets HOT 2
- Configuration not saving HOT 2
- First column ignored if not name column HOT 1
- Display results in more readable format
- Enable import of codename HOT 1
- Add custom menu for inserting macros, assets, linked items HOT 1
- Investigate potential performance issues when importing HOT 3
- Catch App Script exceptions HOT 1
- Implement throttling to avoid rate limiting errors
- Validate data pre-import
- Make the items returned from Generate Sheet display in alphabetical order HOT 2
- Not all content types were returned for me to select HOT 10
- Allow Selection of Types to export instead of exporting everything, always HOT 7
- 'Your input exceeds exceeds the limit of 50000 characters in a single cell.' HOT 5
- Support for subpages
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 kontent-google-sheets-add-on.