5 Replies Latest reply on Jul 14, 2015 4:45 PM by philmodjunk

    FM Pro13 - Email templates suddenly have no space formatting

    NaomiForkash

      Title

      FM Pro13 - Email templates suddenly have no space formatting

      Post

      I've been using email templates in FM Pro13 for some time now, and they always look fine. All of a sudden, halfway though the day, I click to apply a template and there are no spaces or paragraph breaks, but underlines, bold, links etc are showing fine. For example,

      Template looks like this:

      Hello,

      This is my message!

      This is a new paragraph, thanks. 

      From, 

      Me

      However, when I apply the template to the new email window, here's what it looks like:

      Hello,Thisismymessage!Thisisanewparagraph,thanks.From,Me

      It worked fine one minute, and then broke for no reason that I can discern. Hoping someone has the expertise to help me out :) Thanks!

        • 1. Re: FM Pro13 - Email templates suddenly have no space formatting
          philmodjunk

          There's more than one way that you might have used to "apply the template". Can you describe this in more detail?

          • 2. Re: FM Pro13 - Email templates suddenly have no space formatting
            NaomiForkash

            Oh sorry, yes! Attached is a screenshot that may help. Also, I just heard from an employee that they are having the same problem, so it is not related to my computer only. 

            Additional information: I tried to enter new text into the email body rather than use a template, and it strips away the spacing the second I move out of the Body field. So it's also not related to templates only. 

            • 3. Re: FM Pro13 - Email templates suddenly have no space formatting
              philmodjunk

              Not all the spacing I see what looks like two space characters. Perhaps just the returns?

              I'd check to see if you have one of the following:

              a) An OnObjectExit or other trigger on this field

              b) an auto-enter calculation defined for this field

              c) OnCommitRecords might also be set up as a script trigger on this layout.

              with a and c, there will be a script that needs to be fixed. With b) you'd open Manage | Database | Fields, find the field and double click it to open field options where you'd check for and correct the error in the auto-enter calculation.

              • 4. Re: FM Pro13 - Email templates suddenly have no space formatting
                NaomiForkash

                Thanks for the quick response! Could any of this just happen with no one triggering them? I'm the only person with admin access, and I didn't create and new triggers or scripts. 

                • 5. Re: FM Pro13 - Email templates suddenly have no space formatting
                  philmodjunk

                  No but neither will this just happen on its own. SOME change, how ever inadvertant was made that is removing the returns from this field. You've already determined that the template isn't the issue as you can type in text and see the returns disappear. Therefore something, after the value of the field is changed is kicking in and modifying this data.

                  I suppose, just to rule out possible file damage, you could take a copy of this file, recover it and see if the recovered copy shows the same behavior.

                  Things to keep in mind about Recover:

                  While Recover almost always detects and fully corrects any problems with your file...

                         
                  1. The recovered copy may behave differently even if recover reports "no problems found".
                  2.      
                  3. Recover does not detect all problems
                  4.      
                  5. Recover doesn't always fix all problems correctly
                  6.      
                  7. Best Practice is to never put a recovered copy back into regular use or development. Instead, replace the damaged file with an undamaged back up copy if this is at all possible. You may have to save a clone of the back up copy and import all data from your recovered copy to get a working copy with the most up to date information possible.

                   

                  And here's a knowledgebase article that you may find useful: What to do when your file is corrupt (KB5421).