Skip to main content
Legend
February 2, 2018
Answered

Datamerge and API - is that true?

  • February 2, 2018
  • 2 replies
  • 1092 views

Hello brilliant Comm,

our new DAM-company supplied us with their plugin to access the assets.
After some days hands-on, I noticed that data-merge isnt possible anymore, and the links the plugin produces to cater the image-data cant be used thru the data-merge feature.

Now my question to the anser of their support:

"Our developer told that he's totally unsure this is even possible from the Adobe API. It's at least not documented. He sent the question to Adobe to see if this would be possible. When he get the feedback from Adobe, I'll be notified from our internal database in which I reported this.(…) If Adobe confirms it as being possible, we will (…)"

Can you guys backen this up? Or am I getting alternative facts here?

    This topic has been closed for replies.
    Correct answer rob day
    Our developer told that he's totally unsure this is even possible from the Adobe API.

    There's a data merge object in the JavaScript API:

    https://www.indesignjs.de/extendscriptAPI/indesign10/#DataMerge.html

    https://www.indesignjs.de/extendscriptAPI/indesign10/

    2 replies

    rob day
    Community Expert
    rob dayCommunity ExpertCorrect answer
    Community Expert
    February 2, 2018
    Our developer told that he's totally unsure this is even possible from the Adobe API.

    There's a data merge object in the JavaScript API:

    https://www.indesignjs.de/extendscriptAPI/indesign10/#DataMerge.html

    https://www.indesignjs.de/extendscriptAPI/indesign10/

    Colin Flashman
    Community Expert
    Community Expert
    February 3, 2018

    100% Agree with Rob. I've written several javascripts that use Data Merge. See for yourself:

    https://colecandoo.com/downloads/

    If the answer wasn't in my post, perhaps it might be on my blog at colecandoo!
    Community Expert
    February 3, 2018

    Hi Colin,

    I think Jan's problem is to get a valid link to an image in the database that can be used for a data merge.

    But it should be possible to write a script that can act on a placeholder text for an image after a data merge is done and is replacing the placeholder text with the corresponding image from the database.

    Regards,
    Uwe

    Steve Werner
    Community Expert
    Community Expert
    February 2, 2018

    Moving to InDesign SDK forum

    DBLjanAuthor
    Legend
    February 2, 2018

    Hello Steve Werner,

    i think scripters and other 3rd-party-plugin-users could best chime in in InDesign _root, I dont think SDK is frequently visited and its not a specific API-question, rather than "does the plugin youre using even support that or not?"

    Can you move it back please?

    Steve Werner
    Community Expert
    Community Expert
    February 2, 2018

    We can try, but it's much more technical than we usually handle in the regular InDesign forum.

    Moving back to InDesign forum