Please Can you tell me how to fetch value from custom Attributes in ManagedAttributes object class ,Please tell me what will be Property name if I want to print the value of Employee?
I think above question not showing what I written ,So I’m writing again
Please Can you tell me how to fetch value from custom Attributes in ManagedAttributes object class ,Please tell me what will be Property name if I want to print the value of Employee?
Actually I wrote small code but it is not showing in above comment , I don’t why.
If I want to fetch value from attributes -> map ->entry -> value . How Can I fetch value
To do this you should take help from java doc and debug XML of mmanagedattribute
You can getthe Attributes getAttibutes() then use getMap() to get the map and once you have map you can use any normal method related to Map.
To do this you should take help from java doc and debug XML of mmanagedattribute
You can getthe Attributes getAttibutes() then use getMap() to get the map and once you have map you can use any normal method related to Map.
Yes that I understood that how to write in java program but my doubt is how should I write in Property in Report ,Please can you explain me from below example
Ex
attributes – > map ->entry -> Status ->value->employee->/value->status->entry->map->attributes…..So the property for this – Property=”attributes.map.get(“employee”)” it is the write way or any other way please can you tell me
Can you show the XML of managedAttribute . From managedAttribute XML you can figure out.
The code snippet looks wrong. You need to get attributes from managedAttribute object then getMap method on attributes object.
When you write java code put enough logs at every line(at least on development phase). That would help to resolve the issue. Pls show us some logs as well.
I have one requirement – Actually I want to show custom attribute which I created in Entitlement Catelog in my Custom Report , I’m not able to understand how to fetch that value in report ,Please Can you suggest me or any code which help me to understand my req.?
Hello Swapnil, you can send the code in LinkedIn. Usually , if you have doubt in a code which is present in the video, then you just have to mention the time .
In the Managed Attribute hbm file there is one property called Attributes ,Please Can you
tell me what is type=sailpoint.persistence.XmlType and how to fetch values from Attributes Property ,Please try to explain through snippet.
Thank you for covering this topic in such depth. Wanted to know how you opened the jar file in eclipse? When I open it in eclipse, I only see the classes and not the hbm xml file.
Thank you for responding. I was able to access it. I wanted to create a custom report where the report user can choose department from drop down as we do for applications or identity.I dnt see it as an attribute under identity object. Is it possible to do this? Usually in rule we fetch via identity.getattribute(“department”). How can we use this as parameter?
22 Comments
Please Can you tell me how to fetch value from custom Attributes in ManagedAttributes object class ,Please tell me what will be Property name if I want to print the value of Employee?
true
I think above question not showing what I written ,So I’m writing again
Please Can you tell me how to fetch value from custom Attributes in ManagedAttributes object class ,Please tell me what will be Property name if I want to print the value of Employee?
true
Actually I wrote small code but it is not showing in above comment , I don’t why.
If I want to fetch value from attributes -> map ->entry -> value . How Can I fetch value
To do this you should take help from java doc and debug XML of mmanagedattribute
You can getthe Attributes getAttibutes() then use getMap() to get the map and once you have map you can use any normal method related to Map.
To do this you should take help from java doc and debug XML of mmanagedattribute
You can getthe Attributes getAttibutes() then use getMap() to get the map and once you have map you can use any normal method related to Map.
Yes that I understood that how to write in java program but my doubt is how should I write in Property in Report ,Please can you explain me from below example
Ex
attributes – > map ->entry -> Status ->value->employee->/value->status->entry->map->attributes…..So the property for this – Property=”attributes.map.get(“employee”)” it is the write way or any other way please can you tell me
Can you show the XML of managedAttribute . From managedAttribute XML you can figure out.
The code snippet looks wrong. You need to get attributes from managedAttribute object then getMap method on attributes object.
When you write java code put enough logs at every line(at least on development phase). That would help to resolve the issue. Pls show us some logs as well.
I have one requirement – Actually I want to show custom attribute which I created in Entitlement Catelog in my Custom Report , I’m not able to understand how to fetch that value in report ,Please Can you suggest me or any code which help me to understand my req.?
Sure , even for that you have to show the managedAttribute XML from debug page
Following is the xml of Managed Attribute and I want to print “noApproval” value , Please suggest me
true
I’m not understanding whenever I’m adding XML data in comment ,it is just showing true instead of code ,any problem?
Yes. It doesn’t allow any script in the comments
So how should any user send their code if they want to?
Hello Swapnil, you can send the code in LinkedIn. Usually , if you have doubt in a code which is present in the video, then you just have to mention the time .
Please check the LinkedIn , I sent the file with code and my doubt in one file , Please check and let me know if you any problem
In the Managed Attribute hbm file there is one property called Attributes ,Please Can you
tell me what is type=sailpoint.persistence.XmlType and how to fetch values from Attributes Property ,Please try to explain through snippet.
Hi Swapnil, the relationship between hbm file and javadocs are explained in javadocs video. You can watch that to have better understanding.
I would also strongly suggest you to read the reports technical white paper provided by Sailpoint.
Hi
Thank you for covering this topic in such depth. Wanted to know how you opened the jar file in eclipse? When I open it in eclipse, I only see the classes and not the hbm xml file.
Jar files can be opened with any java decompiler software.
The instructor is using JD Gui 1.6.6
Thank you for responding. I was able to access it. I wanted to create a custom report where the report user can choose department from drop down as we do for applications or identity.I dnt see it as an attribute under identity object. Is it possible to do this? Usually in rule we fetch via identity.getattribute(“department”). How can we use this as parameter?
Hello
Kindly do provide some advice on the above? Should the java datasource type be used?