HOW TO IMPORT CUSTOM HEIGHT AND WIDTH USING CSV FOR RDP

HOW TO IMPORT CUSTOM HEIGHT AND WIDTH USING CSV FOR RDP

avatar

Hello,

Can someone tell me how to import a custom height and width when using a CSV file. I've tried looking at the XML file and used different fields but I can't get the screensize to work. Everything else works besides the screensize.

I work with 30+ RDPs and I want them all to have the same screen size when I import them with the CSV file.

I've tried looking on this forum but information is very limited about all the fields we can use.

Thanks in advance.

All Comments (7)

avatar

Hello,

is it mandatory that you import the custom sizes with the CSV? If you just import once, you could use the batch edit afterwards to set the custom width and height for the specified RDP sessions.

Regards,
Min

avatar

I'm using the free version. It doesn't have the batch edit option

avatar

Hello,

ah ok then it is mandatory ;)

It looks like that the "ScreenSize" parameter import are not correct - i run into this error:

System.InvalidCastException: Ungültige Umwandlung von "System.String" in "Devolutions.RemoteDesktopManager.ScreenSize".
bei System.Convert.DefaultToType(IConvertible value, Type targetType, IFormatProvider provider)
bei System.String.System.IConvertible.ToType(Type type, IFormatProvider provider)
bei System.Convert.ChangeType(Object value, Type conversionType, IFormatProvider provider)
bei System.Convert.ChangeType(Object value, Type conversionType)
bei Devolutions.Utils.ReflectionUtils.SetPropertyValueDirect(PropertyInfo propertyInfo, Object obj, Object value)
bei Devolutions.Utils.ReflectionUtils.SetPropertyValue(Object obj, String propertyName, Object value, Boolean allowNonExistingProperty)
bei Devolutions.RemoteDesktopManager.Business.BusinessHelper.SetPropertyDirect(Object source, String containerName, String propertyName, Object value)
bei Devolutions.RemoteDesktopManager.Business.CsvFormat.CsvImport.ImportFromCsv(String fileName, String rootFolder, Connection connectionTemplate, String& errorMessage, List`1 importCanditates)
bei Devolutions.RemoteDesktopManager.Forms.FrmImportCsvWizard.ImportFromCsv(String fileName, String destGroup)


Maybe the support can reproduce the import issue. Attached my test csv.

Best Regards,
Min

custom-import-test.csv

avatar

Hello,

It's easier to import your CSV with the help of a RDP template that has the appropriate height and width already configured in the template.
https://help.remotedesktopmanager.com/commands_creatingtemplates.htm
https://help.remotedesktopmanager.com/importcsv_strategies.htm

However, the templates are not available in the Free Edition of RDM, you would need to use the Entperprise Edition to accomplish this.

The Enterprise Edition can be use in trial mode for free for 30 days if you want.
https://remotedesktopmanager.com/Home/Trial

Best regards,

Jeff Dagenais

avatar























How did this help me? Why not just give me the appropriate fields instead? I don't need the enterprise edition for what I need to do. That would be overkill.

avatar

Hello,

We've made a change internally that should correct the issue. It will be available in the next minor update of RDM Free and Enterprise. Using the sample CSV you provided, I can import it without any issue.

Regards,

Hubert Mireault

avatar

Many thanks Hubert!
:)