Trigger IronPython on Spotfire Dashboard's Initial Load

แชร์
ฝัง
  • เผยแพร่เมื่อ 22 ม.ค. 2025

ความคิดเห็น • 10

  • @PedroCargo
    @PedroCargo ปีที่แล้ว +1

    Hi! Thank you Neil for the video, very useful! Can you describe how you embedded the RunIronPython data function? (2:14). I can only get the path to point to a library location

    • @DrSpotfire
      @DrSpotfire  ปีที่แล้ว

      Hello Pedro. When you first create a data function from Data > Data Function Properties and defina or register a new function and run it for the first time you will get a message "The data function has been embedded in this analysis, but has not been saved to the library. Do you want tot save to the library before continuing?" when you close the dialog. If you choose [No] the data function will stay embedded, but you can later save the data function to the library.

  • @mickam51
    @mickam51 3 ปีที่แล้ว +2

    I use this trick all the time, but as everybody is demanding a fonctionnality to execute a script on loading, why Tibco hasn't implemented that already?????

  • @sarbajitsahu9060
    @sarbajitsahu9060 4 ปีที่แล้ว

    Hi, Can I use summary table value like avg,stddev values in other charts to create line

  • @justinschneider1996
    @justinschneider1996 ปีที่แล้ว

    I am able to get this to work with a simple script that re-routes to a different tab, but I am trying to run a script that takes a snapshot of a text area and saves it to my c drive. This script does not work, I must manually run it in the ironpython prompt window. Any insight on why its not working would be appreciated.

    • @DrSpotfire
      @DrSpotfire  ปีที่แล้ว

      Hello Justin. Have you tried automation services in where you can export a specific visual or create a custom PDF report to be exported on a regular basis? I am curious about the specific use-case. Another option is to use Windows Task Scheduler, but you will need a batch file or script that opens Spotfire or any other program that takes the screenshot that you want to take.

  • @harishu6766
    @harishu6766 4 ปีที่แล้ว

    Thanks Neil for this video.
    I have the situation where column should add dynamically in cross table.
    Is that possible?
    Thanks in advance.

  • @kellyc8888
    @kellyc8888 4 ปีที่แล้ว

    This method still doesn't work through automated services. I haven't found a way to execute an iron python script through automated services yet...
    I was hoping that when you run the 'Open analysis from library' step it would then execute the script, which it doesn't.

  • @shubhamgoyal2415
    @shubhamgoyal2415 4 ปีที่แล้ว

    Thanks Neil for this video.
    I have another situation, where i want to a run IronPython script after data loading completes. is it possible to achieve that ? thanks

  • @henryheberle3141
    @henryheberle3141 2 ปีที่แล้ว +2

    It would be great if we had eventListeners for 'onStartOpen', 'onEndOpen' (or onMount), 'onPageFocusChange', 'onClose', 'onSave', and so on, to run scripts on Events, instead of this workaround