Jump to content

Document Property drop down list


Hassan EL BADAWI

Recommended Posts

Hello All,

I'm developping an analysesthatincludesnumereous R scripts and I wish that one of the R script input parameteres to be a Data table.

In addition, this data table should be selectable by the user using a drop down list, so is it possible to populate a drop down list document property with all the names of the available data table in the analysis in which it can be an input to the R script or is it better to use another way or technique

Thank you in advance.

Best Regards,

Hassan EL BADAWI

Link to comment
Share on other sites

  • 2 weeks later...

You could do this by creating a drop-down selection field. The selection options can be the table names that you have in the analysis.

Once a user makes a selection the R-script can pick up the name and perform the calculations that follow using the name of the table selected.

To create a drop-down list:

Go to the drop down list

Add a new Document property and select fixed values.

You can then add the data tables that can be selected as an input for the script.

Please see the images.

Hope this helps!

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...