How do I set a certain page as the 'first page' to display after the splash screen?

Hello everybody,

I would like to set a certain page as the first page to display after the splash screen.

This page contains the navigation menu for the operator.

Thanks for your answer(s)

  • Hi  

    Try the citect.ini setting [Page]Startup=YourPageName

    Let me know how it goes. If that doesn't work, let us know what template your pages are built using and what include projects are set.

    Kind regards

    Olivier

  • I do not have Page.

    So I added it via Computer setup editor like:

    Then I saved the citect.ini file but after restart I still get the 'old' first screen and not HOME_Page

  • The page is built with this template:

    The Page, I call is this:

  • There is also a [Page] Splash parameter. It is possible it is set in your project parameters (Studio | Setup activity | Parameters) since it is not in your citect.ini file. Also, note that each PC has its own citect.ini file, so setting the Startup parameter on the server will not affect clients.

    It is also possible you have the [Client]StartupCode parameter set to call a Cicode function that may display a startup page. Check both citect.ini and the Project Parameters.

    Another possibility, although unlikely, is an Event is displaying the page (Studio | Setup activity | Events).

    You could also check the properties of the page to make sure it doesn't have any Page Events that are displaying other pages automatically.

  • Hello Eric,

    In the setup - parameters is nothing:

    In the project properties I also do not see anything related to this:

    There are also no Page events in on the page.

    I have added all three [Page] commands to both citect.ini files, the one in the config and the other in the project directory like:

    But still, after saving and restart, I get the 'old' start-up page.

  • The only thing is: I do not see or have a cicode function called like this...

    I do have client.ini file with:

    [CTEDIT]
    BIN=C:\Program Files (x86)\AVEVA Plant SCADA\Bin
    LASTDATABASE=Kobelco_Citect (V2023)
    RUN=\\plantscadasvr01\User\Kobelco_Citect (V2023)
    COPY=
    LASTDATABASEPATH=D:\AVEVA Plant SCADA 2023\User\Kobelco_Citect (V2023)
    LASTSETUPPATH=D:\AVEVA Plant SCADA 2023\User\Kobelco_Citect (V2023)
    DATA=C:\ProgramData\AVEVA Plant SCADA 2023\Data
    USER=C:\ProgramData\AVEVA Plant SCADA 2023\User
    CONFIG=C:\ProgramData\AVEVA Plant SCADA 2023\Config
    LOGS=C:\ProgramData\AVEVA Plant SCADA 2023\Logs
    STARTER=C:\ProgramData\AVEVA Plant SCADA 2023\Starter
    Backup=
    [Client]
    ComputerRole=1
    FullLicense=0
    PartOfTrustedNetwork=0
    CPU=
    StartupCode=
    Events=
    Clusters=Kobelco
    [RuntimeManager]
    Profile=
    [CtSetup]
    CustomSetup=0
    [Alarm]
    ScanTime=500
    SavePeriod=600
    SummaryLength=1000
    SummaryTimeout=60
    SavePrimary=D:\AVEVA Plant SCADA 2023\User\Kobelco_Citect (V2023)
    SaveSecondary=
    IsolationDetectIP1=
    IsolationDetectIP2=
    [Report]
    Startup=
    InhibitEvent=1
    RunStandby=1
    [Trend]
    InhibitEvent=1
    [LAN]
    TCPIP=1
    AddressType=0
    AddressScope=0
    [Event]
    Server=0
    [Debug]
    Menu=1
    [Win]
    AltSpace=1
    [Page]
    Startup=Readings
    [General]
    MultiProcess=0
    [Server]
    AutoLoginMode=1
    [Deployment]
    Enabled=0
    Project=
    Version=
    [Kernel]
    WINDOWPOSITION=1,234,92,1406,824
    Windows=0
    [Kernel.WindowPositions]
    Main=6,0,0,115,28
    

    There I see [Page]Startup=Readings

    I think that is the place to be..

    Sad but true, even after change, still the same 'old'/wrong page is loaded.

  • Make sure you are editing the config\citect.ini file. The copy in the project folder is not used. It's just a copy for your reference from the last time you backed up/restored the project.

    It's a good idea to use the Computer Setup Editor to edit citect.ini. It opens the correct file from Config, and it makes sure the format is valid. For example, if you have 2 [Page] sections, the 2nd one will be ignored.

    I'm not sure how familiar you are with Cicode. To search for the ClientStartup function, open the Cicode Editor, and from the toolbar, click the Find User Function button. Type in ClientStartup and click OK to search for it.

  • It’s easy to set in the Setup Wizard for the project. As you get to the end of the wizard there is a page that lets you specify which page to open when the project starts. I believe it is the last, or second to last screen in the wizard. Very easy. It has always worked for me.

  • Just a short update:

    None of the above worked (for me).

    Every time the same 'old' page was displayed.

    The I saw this in File menu (Open profile):

    After selecting server I could enter the correct page and after start-up the correct page (HOME_Page) started on the server.

    You would think that by selection client in stead of server and add the same page entries, all clients would also startup with this homepage, so I did this:

    But no, on the clients still the old page started. This one:

    PageMenu, located in a hidden system project folder (include) (first press the T symbol aside the project dropdown menu)

    After entering this command in the page properties of this page: 

    All clients start with the HOME_Page page.

    For sure this is not the way to do it or intended to accomplish this but for me it work.

    If somebody else knows how it should be done, I am open for suggestions.