You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
There's a design issue with this script -
basically if you want to inherit credentials from the main folder of the document, you can not get that easily.
The reason is that this setting would need to be set on the implicitly created dynamic folders. You can put that setting on the top level but not on intermediate folders.
It's not possible at the moment due to the fact that intermediate would need to also have that setting.
The best logic would be to adhere to the mode that is set in the dynamic folder settings itself and to propagate it down.
I don't know how to access that and my brain is already shutting off again trying to think about it
The text was updated successfully, but these errors were encountered:
First, you're mixing up rJSON properties with RoyalDocument properties. The documentation you referenced is for the RoyalDocument object model, not rJSON. You can inherit credentials from their parent folder very easily using rJSON's CredentialsFromParent property. Just set this to true and you're done, no other properties needed.
Regarding the specific problem you're facing: The way the script creates folders at the moment makes it impossible to set the folders to inherit credentials. But if you rewrite the script to create folders using the hard method™️ you can configure them to inherit the credentials from their parent folder with CredentialsFromParent, just like for connections.
Then, the only thing left to do is to ensure that the Dynamic Folder itself is configured with the correct credentials so that it can pass them through to the individual connections within.
There's a design issue with this script -
basically if you want to inherit credentials from the main folder of the document, you can not get that easily.
The reason is that this setting would need to be set on the implicitly created dynamic folders. You can put that setting on the top level but not on intermediate folders.
Adding it per host is easy, using the dynamic folder model docs
The following example presents a workaround referencing a credential by name.
The real goal would be reached with
CredentialMode: 1
CredentialFromParent: True
CredentialAutologon: True
(optional)It's not possible at the moment due to the fact that intermediate would need to also have that setting.
The best logic would be to adhere to the mode that is set in the dynamic folder settings itself and to propagate it down.
I don't know how to access that and my brain is already shutting off again trying to think about it
The text was updated successfully, but these errors were encountered: