New answers tagged

0

Use the LongSFID AMPScript function to get the correct 18 character id from the 15 character one. If you are using the MC Connector, it should already be 18 characters long


0

You can't specify an Id that does not exist in that org, thus the import fails. This is because Id is a read-only, system generated field. If the import did work, this would imply that the Id value would no longer be unique in different orgs. The best you can do is to change the Id column to a different name (a custom External Id field), which you could do ...


4

When you choose "External SFTP" as the location type, your Url field should have the absolute path to the ftp folder you need to access. Example: sftp://ftp.domain.com/folderForSFMC/ You can find your folder's absolute path by viewing the folder in an FTP client and right-clicking on the folder to "Copy URL(s) to Clipboard" (that's the option in FileZilla)....


2

If you want to track the email sent from journey then you can use the sent tracking output from tracking extract. Once you are done with the tracking extract and file transfer activity. You can the get the file from SFMC SFTP and filter with the 'TriggeredSendExternalKey'. You can find your journey triggered send external key by going into Email Studio >...


2

All strings in Apex and on the Salesforce platform are encoded in UTF-8, full stop. All Salesforce APIs accept input in UTF-8. If you upload a text file that is not UTF-8 into a File object and attempt to process that file's content in Apex, you may encounter multiple different negative outcomes, or no change at all, depending on exactly what your code does....


0

You can use this generic apex class for all format /* Allows programmatic retrieve of data generated by any report for further processing in Apex or attaching to emails. Uses Page.getContent() by default but in future/scheduled context will fall back to REST GET (remember to add "Remote Site Setting" if you plan to use it like that). Use with ...


1

Try the following: /servlet/PrintableViewDownloadServlet?isdtp=p1&reportId=<YOUR REPORT ID> This is the modern "magic" URL for exporting; it produces a formatted report that is nearly identical to Classic's "Printable View." This URL produces the report format generated by clicking Export > Formatted Report from a Report in Lightning. ...


Top 50 recent answers are included