Scheduled Maintenance: Archer Community Temporary Downtime. Learn More here.
2022-03-07 09:39 AM
I have created a calculated field in which i am displaying an URL using other helper fields and merging it like a complete URL. I would like to display the URL with html tags similar like <script>"URL"</script> in the calculated text field.
Current calculation: "https://test.team.com/"&[FilePath]&"/testit/"&[Tracking ID]&".js" which is working fine and I would need to update the calculation in such a way so that I would have output like this:
Desired output: <script src="https://test.team.com/test_path/testit/123456.js"></script>
@Anonymous @Ilya.Khen @Ilya_Khen @JeffLetterman
2022-03-09 02:22 AM - edited 2022-03-09 02:23 AM
Thank you @DavidPetty , @Anonymous Using encoding characters it is working now.
"<script src="https://test.team.com/test_path//testit/123456.js"></script>"
2022-03-07 09:45 AM
Cannot you use > and < codes for <>, then you should be able to construct needed text.
2022-03-07 09:55 AM
Can you elaborate it more?
2022-03-07 09:56 AM
I mean, what problems you have in constructing the needed output text? I assume only tags like <> are the issue?
2022-03-07 10:06 AM
Yes, i want to incorporate the HTML tags <> so that output would be produced like the below.
<script src="url"> </script>
2022-03-07 10:08 AM
So < stands for <
> stands for >
2022-03-07 10:12 AM
@Ajeet, calculated fields will most likely filter out the script tag for security reasons. So, you won't be able to achieve what you're looking to do. You'd have to use a custom object instead.
Advisory Consultant
2022-03-09 02:22 AM - edited 2022-03-09 02:23 AM
Thank you @DavidPetty , @Anonymous Using encoding characters it is working now.
"<script src="https://test.team.com/test_path//testit/123456.js"></script>"
2022-03-09 07:47 AM
Anytime