C# Class WorkbookPublishSettings, TabMigrate

Afficher le fichier Open project: tableau/TabMigrate Class Usage Examples

Méthodes publiques

Свойство Type Description
OwnerName string
ShowTabs bool

Méthodes publiques

Méthode Description
WorkbookPublishSettings ( bool showTabs, string ownerName ) : System

Constructor

Private Methods

Méthode Description
CreateSettingsFile ( SiteWorkbook, wb, string localWorkbookPath, KeyedLookup userLookups ) : void

Save Workbook metadata in a XML file along-side the workbook file

GenerateDefaultSettings ( ) : WorkbookPublishSettings,

Default settings to use if no settings file is present

GetSettingsForSavedWorkbook ( string workbookWithPath ) : WorkbookPublishSettings,

Look up any saved settings we have associated with a workbook on our local file systemm

IsSettingsFile ( string filePath ) : bool

TRUE if the file is an internal settings file

ParseXml_GetOwnerName ( XmlDocument xmlDoc ) : string

Looks for the Owner Name information inside the XML document

ParseXml_GetShowSheetsAsTabs ( XmlDocument xmlDoc ) : bool

Looks for the ShowTabs information inside the XML document

PathForSettingsFile ( string workbookPath ) : string

Generates the path/filename of the Settings file that corresponds to the workbook path

helper_LookUpOwnerId ( string ownerId, KeyedLookup userLookups ) : string

Looks

Method Details

WorkbookPublishSettings() public méthode

Constructor
public WorkbookPublishSettings ( bool showTabs, string ownerName ) : System
showTabs bool
ownerName string
Résultat System

Property Details

OwnerName public_oe property

The name of the owner of the content (NULL if unknown)
public string OwnerName
Résultat string

ShowTabs public_oe property

TRUE: The published workbook should show tabs to navigate the sheets/dashboards/stories FALSE: No Tabs (each sheet/dashboard/story is accessed by its URL)
public bool ShowTabs
Résultat bool