https://docs.tibco.com/pub/spotfire_server/7.6.1/doc/html/tsas_admin_help/GUID-13E15745-41ED-4811-A263-20D84838EC1A.html
Dec 21, 2017
How to execute any IronPython script from the JavaScript (mashup API) in TIBCO Spotfire
How to execute any IronPython script from the JavaScript (mashup API) in TIBCO Spotfire
https://community.tibco.com/wiki/how-execute-any-ironpython-script-javascript-mashup-api-tibco-spotfirer
https://community.tibco.com/wiki/how-execute-any-ironpython-script-javascript-mashup-api-tibco-spotfirer
- Define the selected IronPython script to execute when the property is updated.
- Create a new document property in the Spotfire Analyst client and define a script trigger.
- Modify the property by calling the Document.setDocumentProperty method in the JavaScript code where you want the script to trigger
// Define the Spotfire handle
var webPlayer = new spotfire.webPlayer.Application(server, customization);
webPlayer.onOpened(onOpenedCallback);
...
// Callback triggered after analysis is opened
function onOpenedCallback(analysisDocument)
{
// Modify property to trigger Spotfire script xyz
analysisDocument.setDocumentProperty("abc", "");
}
Dec 19, 2017
Spotfire User group Sync.
The
following user filter string seems to be working for us.
&(objectClass=user)(|(memberOf=CN=Spotfire-Admins,OU=Spotfire,OU=SecurityGrp,DC=h...b,DC=com)(memberOf=CN=Spotfire-Users,OU=Spotfire,OU=Security....Grp,DC=h...b,DC=com)(CN=Spot*))
CN=Spot* - will sync all the users who start with Spot
e.g Spotfire_test_user@test.com
Dec 16, 2017
Spotfire automation service helpful links
https://community.tibco.com/wiki/tibco-spotfire-web-services-api-tutorials-and-examples
https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire_autsvcs/Index.aspx?_ga=2.41956005.1812230274.1513473603-641631342.1497457480
https://community.tibco.com/wiki/create-automation-services-custom-task-tibco-spotfire
https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire_autsvcs/Index.aspx?_ga=2.41956005.1812230274.1513473603-641631342.1497457480
https://docs.tibco.com/products/tibco-spotfire-server-7-11-0
https://docs.tibco.com/pub/spotfire_server/7.6.1/doc/html/tsas_admin_help/GUID-EDEC3041-B238-4FEC-930E-EFF885B26E43.html
https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire_autsvcs/Index.aspx?_ga=2.41956005.1812230274.1513473603-641631342.1497457480
https://community.tibco.com/wiki/create-automation-services-custom-task-tibco-spotfire
https://docs.tibco.com/pub/doc_remote/sfire_dev/area/doc/api/TIB_sfire_autsvcs/Index.aspx?_ga=2.41956005.1812230274.1513473603-641631342.1497457480
https://docs.tibco.com/products/tibco-spotfire-server-7-11-0
https://docs.tibco.com/pub/spotfire_server/7.6.1/doc/html/tsas_admin_help/GUID-EDEC3041-B238-4FEC-930E-EFF885B26E43.html
Nov 20, 2017
Hide menu, header, etc from webplayer
http://spotfired.blogspot.com/2015/03/hide-menu-header-etc-from-webplayer.html
By adding the options parameter to the webplayer url, you can hide the header, toolbar, export visualization, about, etc. This can be very helpful when integrating with SharePoint or other web portals.
Example to hide the satus bar and page navigation:
http://www.spotfire.com/SpotfireWeb/ViewAnalysis.aspx?file=/HSSE/Incidents&options=2-0,4-0
You can also pass other parameters to set filters a specific value
By adding the options parameter to the webplayer url, you can hide the header, toolbar, export visualization, about, etc. This can be very helpful when integrating with SharePoint or other web portals.
Example to hide the satus bar and page navigation:
http://www.spotfire.com/SpotfireWeb/ViewAnalysis.aspx?file=/HSSE/Incidents&options=2-0,4-0
Header | 1 |
Status bar | 2 |
Toolbar | 3 |
Page navigation | 4 |
Filter panel | 5 |
Details on demand | 6 |
Undo\Redo | 7 |
Export visualization image | 8 |
Analysis information | 9 |
Download as DXP file | 10 |
Help | 11 |
About | 12 |
Close | 13 |
Logout | 14 |
Edit button | 15 |
You can also pass other parameters to set filters a specific value
May 11, 2017
Get and set filter value in Spotfire using python script
import Spotfire.Dxp.Application.Filters as filters
import Spotfire.Dxp.Application.Filters.ListBoxFilter
from Spotfire.Dxp.Application.Filters import FilterTypeIdentifiers
from Spotfire.Dxp.Data import *
from Spotfire.Dxp.Application.Filters import *
finalStr = ""
filt=Document.FilteringSchemes[0][myTable][myTable.Columns["Control Name"]].As[ListBoxFilter]()
strVals=''
for value in filt.SelectedValues:
strVals=strVals+value+',';
finalStr =strVals.strip(',')
myPanel=Application.Document.ActivePageReference.FilterPanel
myFilter=myPanel.TableGroups[1].GetFilter("Control Name")
myFilter.FilterReference.As[ListBoxFilter]().Reset()
myFilter.FilterReference.As[ListBoxFilter]().IncludeAllValues = False
myFilter.FilterReference.As[ListBoxFilter]().SetSelection(finalStr.split(','))
import Spotfire.Dxp.Application.Filters.ListBoxFilter
from Spotfire.Dxp.Application.Filters import FilterTypeIdentifiers
from Spotfire.Dxp.Data import *
from Spotfire.Dxp.Application.Filters import *
finalStr = ""
filt=Document.FilteringSchemes[0][myTable][myTable.Columns["Control Name"]].As[ListBoxFilter]()
strVals=''
for value in filt.SelectedValues:
strVals=strVals+value+',';
finalStr =strVals.strip(',')
myPanel=Application.Document.ActivePageReference.FilterPanel
myFilter=myPanel.TableGroups[1].GetFilter("Control Name")
myFilter.FilterReference.As[ListBoxFilter]().Reset()
myFilter.FilterReference.As[ListBoxFilter]().IncludeAllValues = False
myFilter.FilterReference.As[ListBoxFilter]().SetSelection(finalStr.split(','))
-myTable = Variable
Apr 10, 2017
Schedule Updates Resetting the Marking - Spotfire
Resolution
The problem occurs when the "Key columns for linked data" is not set. To enable the "Key Columns for Linked Data":
1). Open the Analysis.
2). Select Edit>>Data Table Properties.
3). Select Edit>> Key columns for linked data >>Select the Key Columns
4). Click "Ok" and Save the analysis.
1). Open the Analysis.
2). Select Edit>>Data Table Properties.
3). Select Edit>> Key columns for linked data >>Select the Key Columns
4). Click "Ok" and Save the analysis.
Feb 2, 2017
Jan 4, 2017
Subscribe to:
Posts (Atom)