Start a new topic
Answered

Saving column layout?

Hi,

I keep on setting which columns I was at the top folder within the document (removing some standard ones and adding others) but it keeps re-setting. This is a lock down document but apart from that I cant see any options to set the default columns within the menu?

Similarly, I couldn't see a reference in the scripting section about if this is setable as a default config in a JSON file. Is this the case? 

Thanks


Best Answer

I haven't tested it myself but in theory you just need to escape this string for json and put it into the DetailsGridLayout property:


{
    "RoyalApplicationSetting" : {
        ....
        "DetailsGridLayout": "<XtraSerializer version=\"1.0\" application=\"View\">\r\n  <property name=\"#LayoutVersion\" \/> ... ",
        ...
    }
}




I had to convert the detailsgridlayout xml portion to a single line first before escaping it for JSON. 

After I did that it worked fine!

Answer

I haven't tested it myself but in theory you just need to escape this string for json and put it into the DetailsGridLayout property:


{
    "RoyalApplicationSetting" : {
        ....
        "DetailsGridLayout": "<XtraSerializer version=\"1.0\" application=\"View\">\r\n  <property name=\"#LayoutVersion\" \/> ... ",
        ...
    }
}



Hi,

So I found the config file section specified, but am unsure how to convert it to the JSON format as I cant see a ref to the parameter on https://docs.royalapps.com/r2021/scripting/objects/


Example JSON

 

{

    "RoyalApplicationSetting" : {

        "ColorizeTree": true,

        "DontShowDocumentModifiedNotification": true,

        "DontShowMaintenanceExtensionNotification": true,

        "DoNotShowGettingStartedPageOnStartup": true,

        "AutoStartDocumentMode": 1,

        "CheckForUpdatesOnStartup": false,

        "CheckForPlugInUpdates": false,

        "NotifyDocument": false,

        "PasswordGeneratorIncludeSymbols": true,

        "PasswordGeneratorLength": 18,

        "PolicyDoNotAllowDocumentsWithoutPassword": true,

        "PolicyDoNotAllowCheckForBetaUpdates": true,

        "PolicyDoNotAllowCheckForUpdates": true,

        "PolicyDoNotAllowCreateCredentialObjectsInDocumentsWithoutPassword": true,

        "PolicyDoNotAllowWeakDocumentPasswords": true,

        "PolicyDoNotAllowRevealPasswords": true,

        "CustomFieldName1": "IP Address",

        "CustomFieldName2": "Team",

        "CustomFieldName3": "Site",

        "CustomFieldName4": "Environment",

        "CustomFieldName5": "OS"

    }

}

 


Example of the config

 

<DetailsGridLayout>&lt;XtraSerializer version="1.0" application="View"&gt;
  &lt;property name="#LayoutVersion" /&gt;
  &lt;property name="#LayoutScaleFactor"&gt;@4,Width=1.25@4,Height=1.25&lt;/property&gt;
  &lt;property name="OptionsView" isnull="true" iskey="true"&gt;
    &lt;property name="ColumnAutoWidth"&gt;false&lt;/property&gt;
    &lt;property name="ShowGroupPanel"&gt;false&lt;/property&gt;
    &lt;property name="ShowHorizontalLines"&gt;False&lt;/property&gt;
    &lt;property name="ShowVerticalLines"&gt;True&lt;/property&gt;
    &lt;property name="ShowIndicator"&gt;false&lt;/property&gt;
  &lt;/property&gt;
  &lt;property name="ActiveFilterEnabled"&gt;true&lt;/property&gt;
  &lt;property name="Columns" iskey="true" value="53"&gt;
    &lt;property name="Item1" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colID&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item2" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colName&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;0&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;196&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item3" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colURI&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;1&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;174&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item4" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colPort&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item5" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colPhysicalAddress&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item6" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colDescription&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;2&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;704&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item7" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colObjectType&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item8" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colIsConnected&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;3&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;112&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item9" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colParentFolder&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item10" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colPath&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item11" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colUserName&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;4&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;107&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item12" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasPassword&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item13" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasPrivateKeyFile&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item14" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colUseCredentialFromParent&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item15" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colAutomaticLogon&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;5&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;156&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item16" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colUseConnectTaskFromParent&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item17" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colConnectTaskName&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item18" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colUseDisconnectTaskFromParent&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item19" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colDisconnectTaskName&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item20" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasKeySequenceTask&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item21" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colUseKeySequenceTaskFromParent&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item22" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colKeySequenceTaskName&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item23" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasManagementEndpoint&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item24" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colManagementEndpointName&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item25" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasSecureGateway&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item26" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colSecureGatewayName&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item27" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colSecureGatewayUsage&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item28" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colIsDefault&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item29" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colIsTemplate&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item30" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasCustomIcon&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item31" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasAutoFill&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item32" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colPlugin&lt;/property&gt;
      &lt;property name="VisibleIndex"&gt;6&lt;/property&gt;
      &lt;property name="Visible"&gt;true&lt;/property&gt;
      &lt;property name="Width"&gt;82&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item33" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colConnectionWindowMode&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item34" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField1&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item35" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField2&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item36" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField3&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item37" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField4&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item38" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField5&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item39" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField6&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item40" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField7&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item41" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField8&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item42" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField9&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item43" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCustomField10&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item44" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCreatedBy&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item45" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colCreated&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item46" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colModifiedBy&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item47" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colModified&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item48" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colIsFavorite&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item49" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colUsePluginDashboardSettings&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item50" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colConnectionType&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item51" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colHasRemoteDesktopGatway&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item52" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colRemoteDesktopGatewayHostName&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
    &lt;property name="Item53" isnull="true" iskey="true"&gt;
      &lt;property name="Name"&gt;colRemoteDesktopGatewayUsage&lt;/property&gt;
      &lt;property name="Width"&gt;94&lt;/property&gt;
      &lt;property name="MinWidth"&gt;10&lt;/property&gt;
      &lt;property name="MaxWidth"&gt;0&lt;/property&gt;
    &lt;/property&gt;
  &lt;/property&gt;
  &lt;property name="GroupSummary" iskey="true" value="0" /&gt;
  &lt;property name="ActiveFilterString" /&gt;
  &lt;property name="GroupSummarySortInfoState" /&gt;
  &lt;property name="FindFilterText" /&gt;
  &lt;property name="FindPanelVisible"&gt;false&lt;/property&gt;
&lt;/XtraSerializer&gt;</DetailsGridLayout>

 


The layout of the grid is stored in the code4ward.RoyalTS.UserPreferences.config (in %appdata%\code4ward) file in the DetailsGridLayout property. The data/format (XML) is basically the serialization of DevExpress' grid configuration. You can inspect the content of the property after you configured it how it should look and apply that using the configuration system as described here:

https://docs.royalapps.com/r2021/royalts/advanced/default-settings.html


Does that help?


Regards,
Stefan

Sure. This is on the dashboard/folder views. 

In this example I have added the column "IP Address" and would also remove "Plugins" for example, but this does not persist between launches


image


Hi Charlie,


can you clarify (maybe with screenshots) what column layout you are referring to?


Thanks,
Stefan

Login or Signup to post a comment