Comments (10)
We're investigating.
from data-populator.
@sweeting we're still having several issues, but you can check this out: https://github.com/preciousforever/sketch-data-populator/releases/tag/v1.6-beta.1
from data-populator.
I'm not sure if my issue is the same as the one described here as it looks like that twitter account is protected... if it's not I'd be happy to create a new issue. I'll leave this one closed and wait for advice for a bit before doing anything else.
I was wondering if something like this is possible:
It would be great if this plugin could override the placeholder override. I've just started playing around with this plugin so maybe I'm missing something or approaching this in the wrong way but I'm seeing a few issues with using it to populate data within symbols (and nested symbols).
from data-populator.
@skipjack have you tried using {name} in the content of the layer inside the symbol? Like this, the placeholders always remain unpopulated and the populated data is just in the overrides.
from data-populator.
@nitrada thanks for the quick response! Yes that does work however the symbols I'm trying to populate are broadly used and thus would not have the same {placeholder}
data in every instance.
So detaching them and doing what you mentioned works, but then I lose out on updates to those common symbols.
from data-populator.
@skipjack you don't need to detach them. They can have different data in each instance although they have the same placeholder in the symbol!
from data-populator.
@nitrada Sorry I think I should have mentioned these are overrides within nested symbols. Also, I meant they wouldn't necessarily be pulling from the same key within the JSON data. I can try to put together a demo if that would be helpful.
Related side note: Are there any good videos or tutorials you could point me towards that go through using this plugin for symbols and nested symbols? I was looking through the readme but couldn't find much on symbols except for the swapSymbol
directive.
from data-populator.
@skipjack sorry, no video tutorials. but have you checked the demo.sketch?
what about creating different nested symbols, each with their own data key {placeholder}
? you could then use swapSymbol
to change them driven by dataβ¦
from data-populator.
(regarding the feature you mentioned earlier: would be great if you coud open a new issue as a feature request. demo would be helpful, too!)
from data-populator.
@nitrada sounds good, I'll...
- check out the demo.sketch file
- give this some more thought and try the alternatives you mentioned
- create a new issue with more details and an example
Thanks again!
from data-populator.
Related Issues (20)
- Local image path is not populating HOT 2
- Auto-height does not work for text or paragraphs HOT 3
- GraphQL Support HOT 1
- Image permissions/rights HOT 1
- Plugin doesn't work with replaced nested symbols HOT 1
- Json iterating per child element, rather than by parent element HOT 2
- JSON Reference for Devs. HOT 1
- Parse/Manipulate Data HOT 4
- Anyone please help calling this value in adobe xd through data populator plugin.
- Condition actions for #show/#hide not working HOT 3
- Bug- Data not populating in placeholders HOT 4
- Feature request- Auto populate option HOT 3
- Add support for populating multiple symbols nested inside another symbol HOT 1
- webp file in sketch JSON input crash HOT 2
- I have no option to load the local JSON file HOT 1
- Data populator major bugs that ruin the experience HOT 3
- Support Prefix & Suffix HOT 2
- Plugin does not seem to work. HOT 5
- Allow DataPopulator to populate artboard names HOT 1
- Bug: Populate with Json dialog box fail to appear (sketch plugin) 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 data-populator.