Historical FVS Template Page Interface

  • Last update:July 22, 2024
  • This document is applicable to users who have installed the FineVis Data Visualization plugin to learn plugin functions.


    Version

    Report Server VersionPlugin VersionFunctional Change

    11.0

    V1.0.0

    Required that your version must be higher than or equal to this lowest version.

    V11.0.16

    V1.16.0

    Allowed the switchStorynextStory, and previousStory interfaces to transfer parameters.

    11.0.22

    V2.1.1

    Added the showStory and hideStory interfaces to show/hide pages.

    11.0.22

    V2.4.1

    Unified FVS APIs related to template pages, table component pages, and tab pages.

    For details, see FVS Page Interface.

    switchStory

    Method
    switchStory(name)

    Jump to the specified page.

    Parameter

    name,{para:"para"}

    Name of the specified page, which is string

    Returned Value

    /

    /

    Example

    Example 1: Click to jump to Page 4.

    duchamp.switchStory("Page 4");

    Example 2: Click to jump to Page 4 and transfer parameters (which is supported only in V1.16.0 and later versions).

    duchamp.switchStory("Page 4",{area:"Ohio"});

    The following shows the syntax for transferring multiple parameters:

    duchamp.switchStory("Page name",{a:"Parameter a",b:"Parameter b"});
    Application Example

    /

    Mobile Terminal

    This API is supported on mobile terminals.

    nextStory

    Method

    nextStory()

    Jump to the next page.

    Parameter

    {para:"para"}

    Parameter name: Parameter value

    Returned Value

    /

    /

    Example

    Example 1: Jump to the next page.

    duchamp.nextStory();

    Example 2:  Jump to the next page and transfer parameters (which is supported only in V1.16.0 and later versions).

    duchamp.nextStory({area:"Ohio"});

    The following shows the syntax for transferring multiple parameters:

    duchamp.nextStory({a:"Parameter a",b:"Parameter b"});

    Application Example

    /

    Mobile Terminal

    This API is supported on mobile terminals.

    previousStory

    Method

    previousStory()

    Jump to the previous page.

    Parameter

    {para:"para"}

    Parameter name: Parameter value

    Returned Value

    /

    /

    Example

    Example 1: Jump to the previous page.

    duchamp.previousStory();

    Example 2: Jump to the previous page and transfer parameters (which is supported only in V1.16.0 and later versions).

    duchamp.previousStory({area:"Ohio"});

    The following shows the syntax for transferring multiple parameters:

    duchamp.previousStory({a:"Parameter a",b:"Parameter b"});

    Application Example

    /

    Mobile Terminal

    This API is supported on mobile terminals.

    showStory

    Method

    showStory(name)

    Show the page.

    Parameter

    name: string

    Name of the page to be shown

    Returned Value

    /

    /

    Example

    Example: Show Page 1.

    duchamp.showStory("Page 1");

    Application Example

    /

    Mobile Terminal

    This API is supported on mobile terminals.


    hideStory

    Method

    hideStory(name)

    Hide the page.

    Parameter

    name: string

    Name of the page to be hidden

    iconNote:
    If you try to hide the current page while on it, a message prompts, indicating that you cannot hide the current page.

    Returned Value

    /

    /

    Example

    Example: Hide Page 2.

    duchamp.hideStory("Page 2");

    Application Example

    /

    Mobile Terminal

    This API is supported on mobile terminals.


    Attachment List


    Theme: Secondary Development
    Already the First
    Already the Last
    • Helpful
    • Not helpful
    • Only read

    滑鼠選中內容,快速回饋問題

    滑鼠選中存在疑惑的內容,即可快速回饋問題,我們將會跟進處理。

    不再提示

    10s後關閉

    Get
    Help
    Online Support
    Professional technical support is provided to quickly help you solve problems.
    Online support is available from 9:00-12:00 and 13:30-17:30 on weekdays.
    Page Feedback
    You can provide suggestions and feedback for the current web page.
    Pre-Sales Consultation
    Business Consultation
    Business: international@fanruan.com
    Support: support@fanruan.com
    Page Feedback
    *Problem Type
    Cannot be empty
    Problem Description
    0/1000
    Cannot be empty

    Submitted successfully

    Network busy