Invite a Co-worker
Send a co-worker an invite to the Exchange portal.Just enter their email address and we’ll connect them to register. After joining, they will belong to the same company.
Send Invite Cancel
80821members
346893posts

Custom widget help

energima
Ensign
Ensign
0 Likes
8
1684

Custom widget help

I need help with the function in the .JS file to make my widget works. Do you have any documents or information or how cwidget function works?

 

Thanks in advance

8 Replies 8
Paul_Derbyshire
Ensign Ensign
Ensign
0 Likes
6
1657

Re: Custom widget help

Hello @energima

 

Which software and software version # are you using with widgets?  

 

I look forward to hearing from you.

Paul Derbyshire
Senior Product Application Expert | Sales Enablement | HMI Line of Business, Digital Factory | Industrial Automation Business | Schneider Electric

Tags (1)
energima
Ensign
Ensign
0 Likes
5
1652

Re: Custom widget help

Hi thx for replying, 

Machine Scada expert last version. 2020

Tags (1)
jthyge
Ensign
Ensign
0 Likes
4
1489

Re: Custom widget help

Hi @energima 

 

Did you solve your problem with Custom Widget in Machine SCADA Expert?

 

I am following the documentation from help: 

Screens and Graphics > Custom Widget >Edit the web files for a custom widget

But I can not read the data from the property in the custom_widget.js 

Tags (1)
energima
Ensign
Ensign
0 Likes
3
1477

Re: Custom widget help

Yeah after several trial an error I find my problem.

Maybe you can send me your file and I can checking it. 

 

@jthyge 

Tags (1)
jthyge
Ensign
Ensign
0 Likes
2
1467

Re: Custom widget help

Hi @energima  

 

That would be very nice. 
The custom_widget.js file?

 

How can I send it to you. The direct message does not seem to work. 

 

 

Tags (1)
energima
Ensign
Ensign
0 Likes
1
1459

Re: Custom widget help

Yes with your index file.

 

kcaron@energima.ca

Tags (1)
energima
Ensign
Ensign
0
1457

Re: Custom widget help

And you .wjson file

 

 

Tags (1)
omelak
Crewman
Crewman
0 Likes
0
1373

Re: Custom widget help

Hi @energima 

Widget is a sort of SDK or client of your service that other site owners embed on their websites. At the minimum they consist of JavaScript code and, if there is a UI part, HTML with CSS. Different widgets do different things, but the common for them is that you hand over some small piece of code to be embedded on foreign site.

Tags (1)