Chad Holland Posted August 20, 2020 Share Posted August 20, 2020 All: I have a bit of an odd requirement for a dashboard. I need the dashboard to work when my users are offline, and I have a few python scripts that need to be able to run. Namely, I am using these libaries: import json import clr clr.AddReference("Microsoft.Office.Interop.Outlook") from System.Runtime.InteropServices import Marshal clr.AddReference("System.Windows.Forms") from System.Windows.Forms import MessageBox from Spotfire.Dxp.Data import * from Spotfire.Dxp.Application.Visuals import HtmlTextArea from Spotfire.Dxp.Framework.ApplicationModel import ApplicationThread I need my user to be able to at least create and email and queue it up to be sent by outlook when they are offline, then outlook can handle the send/recieve when they are back online. The problem of course is that my imports are reliant on you being connected to the internet to import those libraries. I am curious, is there a way in Spotfire, that I can top end import the libraries and save them to the DXP, so that the libraries can be used in my code when the user is offline EDIT: Perhaps a better question/approach would be, is there a way to use("Microsoft.Office.Interop.Outlook") from a local reference, so my users can have this installed locally, and then the python script references the local library instead of trying to go to the web Thanks in advance, Chad Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now