Jump to content

Vincent Grollemund

Members
  • Posts

    2
  • Joined

  • Last visited

Recent Profile Visitors

The recent visitors block is disabled and is not being shown to other users.

Vincent Grollemund's Achievements

Newbie

Newbie (1/14)

  • First Post
  • Conversation Starter
  • Week One Done
  • One Month Later
  • One Year In

Recent Badges

0

Reputation

  1. Hi Jose, I apologize for the late answer, I had not checked my TIBCO page. Please find enclosed the dummy dashboard that represents my use case (in the Page tab, there's the Button that executes the dashboard preparation script that creates the document properties and computes the different scores). The element missing from the code that I added manually are 2 sliders that I added manually (which I was not able to add programmatically) - I've added 2 but I'd want to add one per document property so that my end user could customize the score computation (to explore different weighting options) I'm not sure I see how to transfer my use case to the one you shared. I'm trying to avoid adding manually the slider, as the number of sliders could be big (minimum 40, could reach 100) I'm trying to compute multiples scores with calculated columns (easily done programmatically) - it's a calculation based on row values The score is based on weights that are independent from the rows (there is one weight per column - the global dimension weight and then weights per bin within the dimensions, with the bins defined by boundaries - so as create a step score function for each dimension) Is there a way to add JS code to add the slider? I've succeeded in creating JS sliders but can't seem to find how to connect JS sliders to Document Properties. Thanks for trying to help out! I've extensively search the TIBCO documentation, community, colleagues, the internet, but have not found anything! staDynBenignLab.dxp
  2. Hi, I'm working with Spotfire 11.4.6 I'm trying to automate a score computation based on 40 variables with each variable having a specific weight: weight_1 x variable_1 + ..... weight_40 x variable_40 I'm trying to allow my end users to change the weight values in a text area so as to allow users to explore weight values. The "gold standard" seems to be: - create a document property for each weight (in IronPython that's doable) - create a property control manually (I haven't found a weight to automate that in either IronPython or JS) with a slider As the variables used for the score calculation might change from time to time, I'm really trying to avoid having to manually create the property controls manually - is there any way to circumvent that? I'm unable to find a way to access the document properties within the JS script, nor how to trigger a column calculation based a JS script Thanks in advance for your help,
×
×
  • Create New...