cancel
Showing results for 
Search instead for 
Did you mean: 

Adding new role to Templates

Former Member
0 Kudos

Hi,

We have one project running in XMII 12. Now we created one new role. we need to add this role to all existing query and display templates. we have lot of templates. Is anyway available to do this at in once time?

Regards,

Senthil

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Senthil,

you can build a small BLT where you read all Query/Display files (file extension ".tq" and ".td") that you want to change, and add the desired roles in the attributes "ReaderRoles" and "WriterRoles" of the files and save the files again. You can change all repository files this way.

See also the thread [Backup and Restore|http://forums.sdn.sap.com/click.jspa?searchID=33002745&messageID=8135126] on how to get the folders and subfolders of a MII project.

Michael

Former Member
0 Kudos

Hi,

I tried by using the BLT and i added the roles.

Thanks.

Regards,

Senthil

Answers (1)

Answers (1)

jcgood25
Active Contributor
0 Kudos

A project archive exported to a working folder, a good text editor that can do multiple file search and replace, and a steady hand should allow you to make this change, rebundle the zip and reimport the project.