Anonymous_User Absent Member.
Absent Member.
1049 views

Нow is it possible realize automatic renaming objects CLs


How is it possible realize automatic renaming objects CLs creating in
CMS NOC.

Need to rename the objects to the template (elementName =
element.property.Type + '-' + element.property.(MAX(ID)+1 for All
objects this class )

Is it possible?

And the second question where I can find a description of standard
procedures and functions formula script?

Thanks,
Volodymyr


--
VBondarchuk
------------------------------------------------------------------------
VBondarchuk's Profile: http://forums.novell.com/member.php?userid=119057
View this thread: http://forums.novell.com/showthread.php?t=454567

Labels (1)
0 Likes
1 Reply
Anonymous_User Absent Member.
Absent Member.

Re: Нow is it possible realize automatic renaming objects CLs


So after a CI is created, you want to rename it?

There is an automation trigger for element (CI) created that you could
use. IE: when an element is created, it calls your script and then you
do the work. You would need to create a new element based on the
original and then delete the other one, I'm not sure it is an actual
"rename". In the database\scripts directory, there should be a file
called scUtil.fs which might point you in the right direction. Also
under one of the subdirectories there is an orgs.fs script which can
help also.

Lastly, per your other question, the script guide in the docs directory
covers some of the basis (not creating elements). I suggest looking at
those other scripts and then ask questions from there (or potentially
get Consulting involved to assist you).


--
tisenberg
------------------------------------------------------------------------
tisenberg's Profile: http://forums.novell.com/member.php?userid=56548
View this thread: http://forums.novell.com/showthread.php?t=454567

0 Likes
The opinions expressed above are the personal opinions of the authors, not of Micro Focus. By using this site, you accept the Terms of Use and Rules of Participation. Certain versions of content ("Material") accessible here may contain branding from Hewlett-Packard Company (now HP Inc.) and Hewlett Packard Enterprise Company. As of September 1, 2017, the Material is now offered by Micro Focus, a separately owned and operated company. Any reference to the HP and Hewlett Packard Enterprise/HPE marks is historical in nature, and the HP and Hewlett Packard Enterprise/HPE marks are the property of their respective owners.