C# 클래스 WorkbookPublishSettings, TabMigrate

파일 보기 프로젝트 열기: tableau/TabMigrate 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
OwnerName string
ShowTabs bool

공개 메소드들

메소드 설명
WorkbookPublishSettings ( bool showTabs, string ownerName ) : System

Constructor

비공개 메소드들

메소드 설명
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

메소드 상세

WorkbookPublishSettings() 공개 메소드

Constructor
public WorkbookPublishSettings ( bool showTabs, string ownerName ) : System
showTabs bool
ownerName string
리턴 System

프로퍼티 상세

OwnerName 공개적으로 프로퍼티

The name of the owner of the content (NULL if unknown)
public string OwnerName
리턴 string

ShowTabs 공개적으로 프로퍼티

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
리턴 bool