Technology Blogs by SAP
Learn how to extend and personalize SAP applications. Follow the SAP technology blog for insights into SAP BTP, ABAP, SAP Analytics Cloud, SAP HANA, and more.
cancel
Showing results for 
Search instead for 
Did you mean: 
Frank_Buchholz
Advisor
Advisor

SAP

NetWeaver Identity Management, IdM, offers a built-in script editor which can be replaced easily by another

editor of your choice. Notepad++ is a very nice and handy text editor which offer syntax highlighting.



This blog

describes how to activate Notepad++ as the script editor for IdM http://www.sdn.sap.com/irj/sdn/nw-identitymanagement (assuming that the program is already installed) and how to enable syntax highlighting for IdM scripts using a specific

language file.



Here you
see the result showing Javascript keywords (blue), constants (red), variables
(black), comments (grey) and in addition IdM internal functions (green) and IdM
global scripts (orange):







 

1. Step: Activate Notepad++ as script editor in IdM

Enter the
path to the Notepad++ program at "Tools->Options->Script editor" in the Identity Center:




</p>

2. Step: Download and prepare the Notepad++

language definition file

Navigate to

the Notepad++ language file page and download the file

userDefineLang_SAP_IdM_7.1.xml

which is labeled as "SAP NetWeaver IdM
language".



(Currently
I’ve prepared a language file which is optimized for IdM release 7.1. I plan, to publish another file
for release 7.2, too.)



If you
don't have an

userDefineLang.xml

file already, you can drop this file among

your other configuration file, in the Notepad++ Install Folder. It should be renamed





The
correct language gets automatically selected while opening a script in IdM.
Technically IdM uses the

.vbs

file extension even if the file content is
Javascript.  

3. Have fun

... and eyjoy better reading of IdM scripts.

2 Comments