Tagged: Url
- AuthorPosts
- 2024-11-25 at 3:02 pm #20382Communicatie 2Customer
Hi,
I’m working on this project with Mydatamerge with textframes where a description text is coupled with an Url.
In some cases there’s no Url, but I want to keep the description text. If I select the “Delete frame with placeholder” in the process chain the description text “Hallo” is also deleted. See the example image. https://ibb.co/xmDQnVh The goal is that the Description text “Hallo” is published but just without an Url. Is there a way to fix this?
Grts
Marco
2024-11-25 at 6:47 pm #20383PatStaffHi Marco
of course!
In the placeholder editor you can create 2 setups. The one you already have and a duplicate of it. In the duplicate just define the text output without URL.
Then use both setups in a process chain. Move the one without URL to first place. Enable conditions and process the first one (without URL) only if URL field in the datasource is empty.
With this the text will be outputted if URL is empty and with URL text with a link will be outputted.
See this video to learn more on: https://www.youtube.com/watch?v=r2hgHIB1fjQ
Please let me know if you need additional advice.
Regards
Pat
Official MyDataMerge Team
2024-11-26 at 3:58 pm #20385Communicatie 2CustomerHi Pat,
That was it. Works like a charm now! Thanks a lot.
Regards
Marco
2024-11-29 at 4:09 pm #20392TitiCustomerHello !
I understand that you can choose a default URL if there is no data in our field. But can we have no link at all in case of empty field ?
Thanks !2024-11-29 at 4:11 pm #20393PatStaffOf coure, titi – in your duplicated setup (where you want the text only), deactivate hyperlink option :)
Official MyDataMerge Team
2024-11-29 at 6:54 pm #20394Communicatie 2CustomerWhat Pat said is correct. In my example I used the same (static) Url but in the Excel sheet of my working project every Url is different or is somtimes omitting. With different Urls it also works.
Regards,
Marco
- AuthorPosts
- You must be logged in to reply to this topic.