Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Notifications
Login / Register
Community
Community
Notifications
close
  • Forums
  • Knowledge Center
  • Events & Webinars
  • Ideas
  • Blogs
Help
Help
  • Explore Community
  • Get Started
  • Ask the Community
  • How-To & Best Practices
  • Contact Support
Login / Register
Sustainability
Sustainability

We Value Your Feedback!
Could you please spare a few minutes to share your thoughts on Cloud Connected vs On-Premise Services. Your feedback can help us shape the future of services.
Learn more about the survey or Click here to Launch the survey
Schneider Electric Services Innovation Team!

AVEVA Plant SCADA 2023

AVEVA Plant SCADA Forum

A support forum for AVEVA Plant SCADA (formerly Citect SCADA). Share new and exciting product information, connect, learn, and collaborate with the ecosystem of Plant SCADA Users. AVEVA Plant SCADA a reliable, flexible and high-performance Supervisory Control and Data Acquisition software solution for industrial process customers. This forum is to connect, share, learn and collaborate new and exciting product information. Feel free to join and share to your Ecosystem of Plant SCADA Users.

cancel
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
Showing results for 
Show  only  | Search instead for 
Did you mean: 
  • Home
  • Schneider Electric Community
  • Industrial Automation
  • AVEVA Plant SCADA Forum
  • AVEVA Plant SCADA 2023
Options
  • Mark Topic as New
  • Mark Topic as Read
  • Float this Topic for Current User
  • Bookmark
  • Subscribe
  • Mute
  • Printer Friendly Page
Invite a Co-worker
Send a co-worker an invite to the portal.Just enter their email address and we'll connect them to register. After joining, they will belong to the same company.
You have entered an invalid email address. Please re-enter the email address.
This co-worker has already been invited to the Exchange portal. Please invite another co-worker.
Please enter email address
Send Invite Cancel
Invitation Sent
Your invitation was sent.Thanks for sharing Exchange with your co-worker.
Send New Invite Close
Top Experts
User Count
olivier_vallee
Lt. Commander olivier_vallee
28
Oncom
Commander Oncom
6
BevanWeiss
Spock BevanWeiss
2
RoozeeR
Lt. Commander RoozeeR Lt. Commander
2
View All

Invite a Colleague

Found this content useful? Share it with a Colleague!

Invite a Colleague Invite
Back to AVEVA Plant SCADA Forum
Vamskhalil
Crewman Vamskhalil
Crewman

Posted: ‎2025-04-29 04:55 AM

0 Likes
3
251
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-04-29 04:55 AM

AVEVA Plant SCADA 2023

Bonjour à tous,

je fais mes premiers pas sur Plant SCADA et j'aimerais pouvoir créer une page de connexion personnalisée comme illustrer sur l'image avec des champs de saisie "Username" et "password" des boutons "Login" et "Logout" et une combo box pour la sélection de la langue.

J'ai essayé plusieurs fonction comme "UserLogin", "UserPassword" mais j'ai des erreurs comme "E2022" et j'arrive pas à m'en débarrasser.

Je serais ravi d'avoir de l'aide

 

Capture d’écran 2025-04-29 à 13.42.52.png

 

Labels
  • Labels:
  • Plant SCADA Anywhere
  • Tags:
  • Anglais
  • english
Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

  • All forum topics
  • Previous Topic
  • Next Topic
Replies 3
olivier_vallee
Lt. Commander olivier_vallee
Lt. Commander

Posted: ‎2025-05-04 06:24 PM

1 Like
1
218
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-05-04 06:24 PM

Hi @Vamskhalil,

The error E2022 means:

"Too many or not enough arguments have been specified for a Cicode function. Check the number of arguments being passed to the function and make the required adjustments."

Could you share the function calls you have behind those buttons?

You could also look at the built in LoginForm() function, but I understand you want to customise the login form.

Otherwise, study the syntax for the function UserLogin() in the help: https://docs.aveva.com/bundle/plant-scada/page/1192353.html

Let us know how you go.

Kind regards

Olivier

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Vamskhalil
Crewman Vamskhalil
Crewman

Posted: ‎2025-05-06 02:16 AM

In response to olivier_vallee
0 Likes
0
192
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-05-06 02:16 AM

Hello Olivier,

Thank you for your reply

In fact, I've already managed to use the LoginForm() function. But my goal is to have a custom login page as shown on the screenshot.

I've created the roles and users, but how do I link them to my custom login page with input fields and the Login button that will allow me to validate the user input if the credentials are correct?

Using UserLogin, I pass as arguments ‘sUsername’ and ‘sPassword’ and in the “Login” button I call the ‘CustomLogin()’ function that I've written.

 

login.jpg

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

olivier_vallee
Lt. Commander olivier_vallee
Lt. Commander

Posted: ‎2025-05-07 10:01 PM

1 Like
0
179
  • Mark as New
  • Bookmark
  • Subscribe
  • Mute
  • Permalink
  • Print
  • Email to a Friend
  • Report Inappropriate Content

Link copied. Please paste this link to share this article on your social media post.

Posted: ‎2025-05-07 10:01 PM

Hi @Vamskhalil,

It looks like your custom login function is missing arguments. How are sUsername or sPassword passed through to the inside of the function?

 

I think you should have this instead:
FUNCTION CustomLogin(STRING sUsername, STRING sPassword)

 

You might also consider trying to catch any error from the inner Login function, and return as part of your custom function. See the Example or ExampleSA cicode files for examples of this.

 

Let me know if this helps.

Kind regards

Olivier

Reply
Contact Support

Link copied. Please paste this link to share this article on your social media post.

Preview Exit Preview

never-displayed

You must be signed in to add attachments

never-displayed

 
To The Top!

Forums

  • APC UPS Data Center Backup Solutions
  • EcoStruxure IT
  • EcoStruxure Geo SCADA Expert
  • Metering & Power Quality
  • Schneider Electric Wiser

Knowledge Center

Events & webinars

Ideas

Blogs

Get Started

  • Ask the Community
  • Community Guidelines
  • Community User Guide
  • How-To & Best Practice
  • Experts Leaderboard
  • Contact Support
Brand-Logo
Subscribing is a smart move!
You can subscribe to this board after you log in or create your free account.
Forum-Icon

Create your free account or log in to subscribe to the board - and gain access to more than 10,000+ support articles along with insights from experts and peers.

Register today for FREE

Register Now

Already have an account? Login

Terms & Conditions Privacy Notice Change your Cookie Settings © 2025 Schneider Electric

This is a heading

With achievable small steps, users progress and continually feel satisfaction in task accomplishment.

Usetiful Onboarding Checklist remembers the progress of every user, allowing them to take bite-sized journeys and continue where they left.

of