Hello,
The Newsletter has been created using AEM + synced with AC, when I set the "include view" picture1:
Personalization block:
As you can see, there's no <br> or unusual spaces, only a <p>
And this is the final output when you get the test in mail:
What I'm doing wrong.
Thank you guys,
Solved! Go to Solution.
Views
Replies
Total Likes
Hello,
It was not about the spaces in the personalization block, that does not matter. I had to delete <p> manually inside the source tab in the HTML template like the picture below:
Adobe Experience Manager was creating those <p> in the include script.
Thank you.
Views
Replies
Total Likes
You can once view the code in the personalization block which you are trying to include in the template.
Also don't try to edit the template from the HTML tab, please use the source tab to make any edits.
Regards
Akshay
Views
Replies
Total Likes
Hello @AkshayAnand
I'm not editing the template, just showing you where the include is located in the template.
But that's not my question.
Views
Replies
Total Likes
That was my suggestion and a best practice, as stated earlier I would suggest to look into the code of personalization block which is being included in the template for any breaks or spaces.
Thanks
Akshay
Views
Replies
Total Likes
As shown in the picture, there's no break and spaces... And I said that in the description before I posted the image
Views
Replies
Total Likes
Hi @AdobeCampaignProxd ,
Please check the source Tab html code inside the Delivery Template is having any line break's between the "Hola firstname" and the "Personalization Block Declaration".
Also try removing extra line spaces in the personalization block, If possible try adding if else loop in single line.
Regards,
Pravallika.
Views
Replies
Total Likes
Hi @AdobeCampaignProxd ,
Modify the personalization block and delivery HTML content as below steps,
Step 1:
In your personalization block, remove the <p> </p> tags in both contents inside the IF and ELSE conditions
Step-2:
In Delivery, Go to Source tab, and paste the blow script where you want to have your personalized block content
<p><%@ include view='internal_name_of_your_personalization_block' %></p>
Now trigger the delivery and check it!
Views
Replies
Total Likes
Hello,
It was not about the spaces in the personalization block, that does not matter. I had to delete <p> manually inside the source tab in the HTML template like the picture below:
Adobe Experience Manager was creating those <p> in the include script.
Thank you.
Views
Replies
Total Likes
You have a lot of whitespace in the personalization block.
remove this whitespace and it will work fine.
Views
Replies
Total Likes
No, that does not work, no effect.
Views
Replies
Total Likes