Skip to content

Commit 1bdd6e6

Browse files
authored
Create README.md
1 parent f2c1add commit 1bdd6e6

File tree

1 file changed

+10
-0
lines changed
  • Specialized Areas/Fix scripts/Avoid Direct String in Widget HTML Templates -HealthScan Finding

1 file changed

+10
-0
lines changed
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
**Use Case**
2+
Adding string in HTML template without ${} or gs.getMessage('string') in server script attracts HealthScan findings.
3+
These string do not get translated in multi lingual portals.
4+
This will help in ensuring internationalization.
5+
Same BR can be used in "sp_template" table.
6+
7+
**How to use**
8+
1. Add this code as before insert/update BR on sp_widget table.
9+
2. The condition will be "Body HTML Changes."
10+
3. If Internationalisation is not followed, error message will be shown and action will be aborted.

0 commit comments

Comments
 (0)