I want to use rhino-console to setprofileattributes. Due to application needs, we have an attribute with string array type. We need to include comma (which is normally the item separator for each array element) inside each element. The problem is that rc is considering each element as a pair of two elements because of the embedded comma.
for example of what I want to do:
We actually want to consider 1,ABC as single array element and 2,XYZ as another single array element (not to consider them as four array elements).
I know it is possible to do so using rem profile export in the xml format but we need to use the rc output format.
import/export XML for profiles may be helpful but it seems that there is no direct way to export profiles (like rc importprofiles rhino-console option). Do you know of a command to export single profile?
Joined: 27/03/2008 13:43:16
Location: Cambridge, UK
There are no tools included with rhino that will export a single profile. If you're up for it you could write a simple management client though that does do this by using ProfileProvisioningMBean.exportProfiles - this is the API that the exporter tool uses to export profiles.
(Yes that's a link to the Rhino 2.6.0 API javadoc. I couldn't find a link to the Rhino 2.3.0 API but AFAICT that API hasn't changed since 2.3.0 so should still work there.)