Report post

Are you sure you want to report the post shown below? This will send an email to the ATVO administrators. Please include a short reason for reporting.

Users reporting for no reason may be locked out.


Post

Posted by Nick Thissen
on
Just grab the spreadsheet and call Parse on it. You can execute this script under a Button action for example.
using System;
using ATVO.ThemesSDK;
using ATVO.ThemeEditor.ThemeModels;
using ATVO.ThemeEditor.Scripting.DotNET;

namespace Scripts
{
public class RefreshCsv : IScript
{
public object Execute(ThemeContentItem item, object value, string parameter, ISimulation sim)
{
var spreadsheet = item.Theme.Spreadsheets.Find("my_sheet.csv");
if (spreadsheet != null)
spreadsheet.Parse();
return null;
}
}
}