cancel
Showing results for 
Search instead for 
Did you mean: 
Read only

Unable to escape semicolon in Impex macro

former_member686625
Participant
0 Kudos
744

Unable to escape semicolon if I am trying to putting this value in macro and use it later on.

$contentBeverages = "aaa;bbb"
INSERT_UPDATE CMSParagraphComponent;$contentCV[unique=true];uid[unique=true];name;content[lang=en]

;;CLPTileBanner_duo101;CLP Tile Banner Coffeemakers Content;$contentBeverages

After running this impex, Paragraph component only contains "aaa in the content attribute .Double quotes are also considered as value.

Note: If I directly put "aaa;bbb" in content attribute it works fine. We need this as we need to put same large content in multiple component. Below works fine.

INSERT_UPDATE CMSParagraphComponent;$contentCV[unique=true];uid[unique=true];name;content[lang=en]
;;CLPTileBanner_duo101;CLP Tile Banner Coffeemakers Content;"aaa;bbb"

Accepted Solutions (1)

Accepted Solutions (1)

mansurarisoy
Contributor

Try this, put quote character at the beginning of the macro.

"$contentBeverages=aaa;bbb"
INSERT_UPDATE CMSParagraphComponent;$contentCV[unique=true];uid[unique=true];name;content[lang=en]
;;CLPTileBanner_duo101;CLP Tile Banner Coffeemakers Content;$contentBeverages
former_member686625
Participant
0 Kudos

It worked Mansur. Thanks

Answers (0)