Highlighted
Absent Member.. Absent Member..
Absent Member..
374 views

SM9.40: Make form Read Only for certain CI Types

I am trying to make all fields on a form read only when the CI type is a certain type. I have tried displayscrreen and formatctrl(priviledges). How is the easiest way to accomplish this. Have been using SM for only a year, but have not been able to find much info or get the info that I have found to work. Any help would be greatly appreciated. 

0 Likes
2 Replies
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: SM9.40: Make form Read Only for certain CI Types

Hi Nadia2485,

You can perform that from the form itsefl using DVD conditions.

Here is an example: Let's say that I need to put readonly the "Version" field when the citype is equal to "application"

1- Go to the form designer and look for "congigurationItem" record or the one you use to display the items. 

2- Click on the version text box. In the properties,  let's look for the "read only condition" one and add this: [type]="application"

3- Click OK and OK

4- Test it

As you see, the name of the field should be into [ ] and then the value you want the condition to apply.

I hope it helps.

Regards,

If you feel this was helpful please click the KUDOS! thumb below!
0 Likes
Highlighted
Micro Focus Expert
Micro Focus Expert

Re: SM9.40: Make form Read Only for certain CI Types

There is an Out-of-the-Box functionality to solve your issue.

In "Configuration Management Security Profile" there is a tab "CI Type Restrictions".

Here you can enter CI types the operator should have limited access to.
For example if you enter here "computer" the operator will not have the "Save" and "Save and Exit" buttons anymore for CIs with type "computer" and the format is displayed read-only for "computer" CIs.

 

Thank you for using the MicroFocus ServiceManager Support and News Forum. If you find that this or any post resolves your issue, please be sure to mark it as an accepted solution.
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.