Coder Social home page Coder Social logo

Merge fields not substituted about glabels-qt HOT 3 OPEN

jimevins avatar jimevins commented on July 20, 2024
Merge fields not substituted

from glabels-qt.

Comments (3)

jimevins avatar jimevins commented on July 20, 2024

If you actually see the literal substitution fields in the print/preview, this means there is a syntax problem. If the field is replaced by empty text, it means the syntax is good but refers to an empty or non-existent field.

Have you tried using the "Insert substitution field" button? It will insert only valid merge fields or variables in the correct syntax. If it is grayed out, it means there is no merge source or user
variables defined.

At this point I can only guess, without specifics. Attaching screenshots of the editor, merge, and print tabs, would probably help.

Also, with one copy, are you getting the correct number of labels (one per selected merge record)?

from glabels-qt.

silopolis avatar silopolis commented on July 20, 2024

Hi,
First tried with the original file created in gLabels.
Then tried to replace old fields re-adding them using the mentioned button.
In every cases, no substitution happens and literal fields remain.

Please find screenshots, original gLabels file, file after opening and various tries in gLabels-Qt, as well as data CSV file

https://drive.google.com/open?id=1sHXGm58HJndFAc6ilWCMyls3hlV3zfXn

Seems like the number of labels is ok

Thanks for your support

Edit: kept on chasing the problem and found that gLabels didn't like the field names (1st line) in my file ! Sanitized TSV file removing all spaces, points, and accented characters and substitution finally happened \o/
Clean csv file as well as adapted gLabel file with new fields names added to Gdrive folder.

May I rename this issue as a feature request for support for spaces, punctuation and special characters in field names ?

from glabels-qt.

jimevins avatar jimevins commented on July 20, 2024

Just committed 2d56507, which should address this.

from glabels-qt.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.