You need to sign in to do that
Don't have an account?
Papa Claus
transaction security block message - new line?
I would like to add a break (new line, carriage return - for the old folks) to a Transaction Security Policy (TSP) block message.
I have tried \n, <br> and a few other in-message control characters to try and get SF to enter a new line in the TSP block message.... but no luck.
Anyone have an idea?
Thanks !
I have tried \n, <br> and a few other in-message control characters to try and get SF to enter a new line in the TSP block message.... but no luck.
Anyone have an idea?
Thanks !
When a real-time event triggers a transaction security policy, you can block a user or enforce multi-factor authentication (MFA). You can also optionally... Follow This Web
Unfortunately, Salesforce does not support the use of HTML tags or control characters like `\n` or `<br>` in the TSP block message field. Therefore, you cannot add line breaks or new lines directly within the TSP block message.
KMFusa (https://www.kmfusa.online/)
However, you can try using some alternative approaches to achieve a similar effect:
1. **Multiple TSP Blocks**: Instead of trying to add line breaks within a single TSP block message, you can consider using multiple TSP blocks with different messages. Each block can have its own specific message with relevant information. This way, you can visually separate the information as if they were on different lines.
2. **Use Bullets or Numbered Lists**: You can create a list-like format within the TSP block message using bullets or numbering. Although this won't create a true line break, it can help in organizing the information in a more readable manner.
3. **Custom Formula Fields**: If you need more flexibility and formatting options, consider using custom formula fields to generate the desired message. You can concatenate text with line breaks using the `BR()` function within the formula field.
4. **Custom Visualforce Page**: For even more advanced formatting options, you can create a custom Visualforce page to display the transaction security policy message. Visualforce pages provide full control over the layout and formatting of the content.
Keep in mind that any customizations you make should still comply with Salesforce's security and best practices guidelines. Always thoroughly test your changes to ensure they work as expected and do not introduce any security risks.
If the standard TSP block message field limitations are too restrictive for your needs, consider submitting a feature request to Salesforce for improved formatting options in TSP block messages.