unable to read subcategory value with special character /
Using com.ibm.ram.common.data.SubCategory API, unable to read special character "/"
for eg CategorySchema scema=session.getCategorySchema("ABCD"); Category assetcat=scema.getCategory("EFGH"); SubCategory assetsubcat=assetcat.getSubCategory("ABC/XYZ"); This SubCategory is returning Null although the value exists and able to search in the category. Is there any way to read the value with special character "/" through API. Please advice Thanks, Abhilash |
3 answers
"/" is not a valid character in category name. That is because the full
category identification of your example would be: CategorySchema scema=session.getCategorySchema("ABCD"); Category assetcat=scema.getCategory("EFGH"); SubCategory assetsubcat=assetcat.getSubCategory("ABC/XYZ"); schema -> "ABCD" assetcat -> "ABCD/EFGH" assetsubcat -> "ABCD/EFGH/ABC/XYZ" So we can't tell difference between ABC/XYZ and as assetsubcat or XYZ being a subcat of assetsubcat. -- Rich Kulp Rational Asset Manager developer |
"/" is not a valid character in category name. That is because the full Thanks a lot Richard for quick reply. Apart from the character "/" is there any other limitations using special characters in categories. Thanks, Abhilash |
Apart from the character "/" is there any other limitations I'm not really sure. But the suggestion to not use any special characters would be the safest. I only know of '/' as for sure. -- Rich Kulp Rational Asset Manager developer |
Your answer
Dashboards and work items are no longer publicly available, so some links may be invalid. We now provide similar information through other means. Learn more here.