I've tried to define custom icons using rjon (dynamic folder) but it is not working.
I am trying to define it under Properties with the CustomImageName property. I want to refer to a custom path/folder (not the default IconLibrary), and the files are PNG.
Here is what I've tried:
"Type": "Folder",
"Name": "name",
"CredentialsFromParent": true,
"Properties": {
"SecureGatewayFromParent": true,
"CustomImageName":"full path icon",
},
Once I run the Dynamic Folder script, I see a "?" icon instead of the icons - I am using python Script with Dynamic Folder.
For more information about RoyalDocument properties vs. rJSON properties and how to mix them, please see the following documentation.
Regarding images...
Currently, the only way to assign a custom icon to an object using rJSON is by using the "IconName" property. And yes, you can only specify icons from our built-in icon libraries there.
Unfortunately, there's currently no way to specify a custom icon from another source.
If you'd like to see support for setting custom images that come from other sources in a future update, please post a feature request in our "Ideas" forum.
For more information about RoyalDocument properties vs. rJSON properties and how to mix them, please see the following documentation.
Regarding images...
Currently, the only way to assign a custom icon to an object using rJSON is by using the "IconName" property. And yes, you can only specify icons from our built-in icon libraries there.
Unfortunately, there's currently no way to specify a custom icon from another source.
If you'd like to see support for setting custom images that come from other sources in a future update, please post a feature request in our "Ideas" forum.
thx,
Felix
L
Leandro Ramos
said
almost 3 years ago
Hi Felix,
Thank you.
I dropped the custom icons into the library and it is working now.
J
JimBob McGee
said
over 2 years ago
@LeandroRamos
I'm probably wrong for suggesting this, but I've been able to do this by adding the custom icon as base64 data to the Properties/CustomImage field. It seems to work, although sometimes needs the folder to reload and/or actually open the connection before I see it.
(PS: I build my rJSON with Powershell, for what it is worth, so the below is part of a PS object which is later made JSON with ConvertTo-JSON. I'll bet the same works with directly-written rJSON, though.)
(PPS: I can't remember if CustomImageList="{}" is required or not...)
(PPPS: it's the HP logo, if you are interested...)
Leandro Ramos
Hi all,
I've tried to define custom icons using rjon (dynamic folder) but it is not working.
I am trying to define it under Properties with the CustomImageName property. I want to refer to a custom path/folder (not the default IconLibrary), and the files are PNG.
Here is what I've tried:
"Type": "Folder",
"Name": "name",
"CredentialsFromParent": true,
"Properties": {
"SecureGatewayFromParent": true,
"CustomImageName":"full path icon",
},
Once I run the Dynamic Folder script, I see a "?" icon instead of the icons - I am using python Script with Dynamic Folder.
Can someone help with this, please?
Thanks
Hi Leandro,
first, please don't nest "SecureGatewayFromParent" in a "Properties" object as it's a natively supported rJSON property.
For more information about RoyalDocument properties vs. rJSON properties and how to mix them, please see the following documentation.
Regarding images...
Currently, the only way to assign a custom icon to an object using rJSON is by using the "IconName" property. And yes, you can only specify icons from our built-in icon libraries there.
Unfortunately, there's currently no way to specify a custom icon from another source.
If you'd like to see support for setting custom images that come from other sources in a future update, please post a feature request in our "Ideas" forum.
thx,
Felix
- Oldest First
- Popular
- Newest First
Sorted by Oldest FirstFelix Deimel
Hi Leandro,
first, please don't nest "SecureGatewayFromParent" in a "Properties" object as it's a natively supported rJSON property.
For more information about RoyalDocument properties vs. rJSON properties and how to mix them, please see the following documentation.
Regarding images...
Currently, the only way to assign a custom icon to an object using rJSON is by using the "IconName" property. And yes, you can only specify icons from our built-in icon libraries there.
Unfortunately, there's currently no way to specify a custom icon from another source.
If you'd like to see support for setting custom images that come from other sources in a future update, please post a feature request in our "Ideas" forum.
thx,
Felix
Leandro Ramos
JimBob McGee
@LeandroRamos
I'm probably wrong for suggesting this, but I've been able to do this by adding the custom icon as base64 data to the Properties/CustomImage field. It seems to work, although sometimes needs the folder to reload and/or actually open the connection before I see it.
(PS: I build my rJSON with Powershell, for what it is worth, so the below is part of a PS object which is later made JSON with ConvertTo-JSON. I'll bet the same works with directly-written rJSON, though.)
(PPS: I can't remember if CustomImageList="{}" is required or not...)
(PPPS: it's the HP logo, if you are interested...)
-
What happened to the forum?
-
About this Forum
-
Security Information
-
Supported Secure Gateway (SSH) ciphers
-
Why is no remote file browser in SCP available?
-
What encryption is used in the rtsz files when enabled?
-
Royal TS V4 License File
-
How to resolve RDP resolution issues in Windows 7 with high resolution screen
-
Auto Fill in web page connection
-
How to reference custom properties in tasks and templates?
See all 275 topics