June 23, 200322 yr Hi I'm having a couple of problems with sending emails from the web companion - the email are sending fine but if there is an ampersand in any of the fields it displays as & - I know this is because it's a special character, but I'd like to elinate them. Does anyone have any ideas? One solution I had was to use a conditional within the portal for the data in the mail format file but for some reason the conditional doesn't work within the portal (but does outside the portal) - any ideas how to get this to work? Thanks!!
June 23, 200322 yr You should rename the fields to remove the ampersands. Very bad news, even if the file is not to be web-shared.
June 24, 200322 yr Author It's not the field names that have the ampersands - it's the content people are typing into them
June 24, 200322 yr Author Here's the format file!! ----------------------------- MEDIA BOOKING REQUEST - Job # [FMP-field:Jobs::JobNumber] ----------------------------- Client: [FMP-field:BillingCompany] Brand: [FMP-field:Jobs::Brand] Job Description: [FMP-field:jobs::JobDescription] Special Instructions: [FMP-field:jobs::specialinstructions] [FMP-If:Media_UMC::ModUserStatus.eq.Amended]There are amended jobs[/FMP-If] ---------------------------------------------------------- MEDIA BOOKING DETAILS FOR JOB NUMBER ---------------------------------------------------------- [FMP-Portal:Media_UMC] *************** [FMP-field:Media_UMC::amendnewcancel] *************** [FMP-If:Media_UMC::ModUserStatus.eq.Amended]There are amended jobs[/FMP-If] Modification Status: [FMP-field:Media_UMC::modificationdate] at [FMP-field:Media_UMC::modificationtime] by [FMP-field:Media_UMC::moduser] Media Status: [FMP-field:Media_UMC::actioned] Key Number: [FMP-field:Media_UMC::combinedkey] Destination: [FMP-field:Media_UMC::Destination] Size: [FMP-field:Media_UMC::sizecombined] Publication Date: [FMP-field:Media_UMC::formatdate] Colour: [FMP-field:Media_UMC::colour] Caption: [FMP-field:Media_UMC::caption] Placement: [FMP-field:Media_UMC::placement][/FMP-Portal]
June 24, 200322 yr You can try to change the encoding: From CDML db: Syntax [FMP-Field: Field name , Encoding ] Parameter(s) First parameter: The name of the field Second parameter (optional): Encoding. Use one of the following reserved words: Raw - Don't perform any encoding URL - Perform URL encoding HTML - (default) Perform HTML encoding Break - Perform HTML encoding and replace soft returns with <br>
Create an account or sign in to comment