cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
Choose Language Hide Translation Bar
hcarr01
Level VI

Dashboard

Bonjour à tous,
 
J’ai créé un Dashboard sur JMP, ce Dashboard utilise différentes bases de données Excel.
Le Dashboard s’exécute via un script JMP.
Cependant, j’aimerais pouvoir améliorer encore ce script.
 
Le problème est que lors de l’exécution du script j’ai 2 problèmes :
 
1 - Devoir faire l’affectation manuellement à chaque fois des tables correspondantes
Dans mon script du Dashboard, chaque fichier Excel est bien renseigné (chemin + feuilles correspondantes)
 
hcarr01_0-1685450649252.png

 

2 - Quand je lance le script et que je fais la correspondance entre les tables, un interface « aperçu du Dashboard » intervient. Dans le meilleur des cas, comment pourrais-je supprimer/passer cette étape pour avoir directement accès au Dashboard final ?

 

Merci pour votre aide !
 
Cordialement
7 REPLIES 7

Re: Dashboard

Do you have JMP 17? If so, you might consider using the Workflow Builder to create your dashboard, as it will remember column names/assignments.

hcarr01
Level VI

Re: Dashboard

Oui j'utilise JMP 17, le script pour mon Dashboard marche correctement. Cependant, j'aimerai juste pouvoir l'améliorer sans devoir tout recommencer à zéro.

hogi
Level XI

Re: Dashboard

Did you check the Database settings - Perhaps "Location" is set to Prompt?

hogi_0-1685461655040.png

 

hcarr01
Level VI

Re: Dashboard

Toutes les options de "Location" ne fonctionnent pas, j'ai toujours le même problème.

Re: Dashboard

@hcarr01 - Can you clarify which options do not work as expected?  Some will require additional steps - for example if the Location is set to `Script`, the table will need to be opened / created in the JSL defined in the Application.  To edit scripts in a Dashboard you will need to turn off Dashboard Mode.

 

If you want the tables to simply open from the location defined in the Path property, you can use the `Full Path` option.  This is the behavior when opening a .jmpapp file for editing.  The Location field is used when running a JMP App/Dashboard to allow for the app to run on different tables.

hcarr01
Level VI

Re: Dashboard

J'ai essayé les différentes options, notamment "Full Path" comme vous l'indiquez :

 

hcarr01_0-1685537804171.png

 

En utilisant cette option, mon script ne trouve plus la table "cuve 1" dans mes table de données, comme vous pouvez le voir ci-dessous :

hcarr01_1-1685537867353.png

 

J'ai ce problème pour toutes les différentes options sauf pour "Embedded Script" 

shampton82
Level VII

Re: Dashboard

How I make my dashboard work with no prompts is to have the files open already then use this type of code in the dashboard script:

	Tables(
		DataTable1 = GuiTable(
			Set Path( "1st FPI summary data.jmp" ),
			Set Label( "1st FPI summary data" ),
			Location( "Name" ),
			Invisible( 0 )
		),

for item # 2, make sure the dashboard script ends with << Run; not << Edit.

 

Hope this helps!

Steve