Timeline for Did salesforce changed sender profile implementation? Bugs for me
Current License: CC BY-SA 4.0
13 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Feb 12, 2019 at 6:48 | history | edited | Johannes Schapdick | CC BY-SA 4.0 |
changed comments to be correct /* */ instead of // inline
|
Feb 12, 2019 at 6:37 | answer | added | Johannes Schapdick | timeline score: 0 | |
Feb 11, 2019 at 22:17 | comment | added | Gortonington |
if you use %%[ set @fname = "fname" // set @fname = "Germany " ]%% (with correct formatting) outputting %%=v(@fname)=%% it would output: Germany not fname . Which means it is not acting as a comment.
|
|
Feb 11, 2019 at 21:09 | comment | added | Johannes Schapdick | Are you sure about your last comment? Every amp syntax checker I have tested marked it as comment. I will test it and write real ampscript functions in the code to test if it gets invoked. Meanwhile Salesforce has admitted that there is nothing wrong with my script but they have screwed a new implementation. I will post this an answer when I know more about it with research and development. First impression is that a Call of ampscript like contentblockbykey inside sender profiles fromname causes this issue. When you write the script in there the error should not pop up. Further testing needed. | |
Feb 11, 2019 at 17:17 | comment | added | Gortonington |
one thing to note is that // does not function in AMPscript as an inline comment, like it does in JS. You are required to use /* */ on ALL comments. Not sure that is what is causing your issue, but was something worth noting.
|
|
Feb 11, 2019 at 14:47 | history | edited | Johannes Schapdick | CC BY-SA 4.0 |
added 1 character in body
|
Feb 11, 2019 at 14:29 | history | edited | Johannes Schapdick | CC BY-SA 4.0 |
added 1008 characters in body
|
Feb 11, 2019 at 14:18 | comment | added | Johannes Schapdick |
The content block is a code snippet not an html content block. I do have many comments in it (33) that look like inline comments // comment but they are all inside the AmpscriptBlock.
|
|
Feb 11, 2019 at 14:12 | comment | added | Gortonington | Can you post the rest of the AMPscript block? Does it contain those HTML comments anywhere inside it or do you believe they being added via the execution of the SFMC conteblock call function? Is it an HTML content block? Code Snippet? | |
Feb 11, 2019 at 14:05 | comment | added | Rain | Try copying script and the print-out variables to an Email template and do a subscriber preview. If you see the variables being populated correctly. In case it works, as experiment you can try creating a new Sender Profile with same configuration and test using that. | |
Feb 11, 2019 at 13:53 | comment | added | Johannes Schapdick | Thank you for testing. Yes, thats exactly what we do. Some big ampscript blog starting with %%[ and ending with ]%% after that it just follows %%=v(@var)=%%, like stated in the post. | |
Feb 11, 2019 at 13:35 | comment | added | Rain | Our dynamic sender profile works fine, just did a test via Journey Builder. Although in our configuration we use ContentBlockByName. Anyway, in your content block, are you printing the values out properly? Like %%=v(@fromName)=%% and using the same in sender profile? | |
Feb 11, 2019 at 13:11 | history | asked | Johannes Schapdick | CC BY-SA 4.0 |