Picture of Jean-Francois 1756
Registered 11 years 6 days
Jean-Francois 1756 Monday, 13 November 2023, 01:24 PM
Implementation "contact widgets"
Hello

We need a feedback about the implementation of the "contact widgets" on a web site.
https://wiki.innovaphone.com/index.php?title=Reference14r1:Concept_Contact_Widgets

How long does it take developers to implement and test this on the web site?

We have a company that manages our website, I wouldn't want it to take 4 days when it might just take a few hours smile

Thanks
Best regards,

Jean-François
Picture of Thomas Ackermann (innovaphone)
Moderator Registered 12 years 188 days
Thomas Ackermann (innovaphone) Monday, 13 November 2023, 02:06 PM
Re: Implementation "contact widgets"
Hi,

the idea just to insert these 4 lines of code into the website.
No need to include any additional JS library.
Should take few minutes only lächelnd

include-widget


<!-- widget code starts here --> <div id="cardset-container"></div> <script src="https://ap.innovaphone.com/innovaphone.com/Widgets/innovaphone-widget-ui.js" type="text/javascript"></script> <script src="https://ap.innovaphone.com/innovaphone.com/Widgets/innovaphone-widget.js" type="text/javascript"></script> <script>try { innovaphone.widgets.loadWidget("wss://ap.innovaphone.com/innovaphone.com/Widgets/service", "fd3da20eecd04863818d0481f092ff55") } catch (error) { }</script> <!-- widget code ends here -->
/Thomas
Picture of mitop
Registered 3 years 348 days
mitop Monday, 13 November 2023, 02:15 PM
Re: Implementation "contact widgets"
Hi,

how long does it take to create the widgets? For how many users? How much time should be scheduled for testing (with the customer)? How much time for a possible follow-up treatment? And how much profit can the company make?

Copying and pasting a few lines of code is not the only part of such a project. In this respect, I am also interested in how much others would calculate for such a project in total.



Picture of Karl Pennings Kally (innovaphone)
Moderator Registered 8 years 128 days
Karl Pennings Kally (innovaphone) Tuesday, 14 November 2023, 03:07 PM
Re: Implementation "contact widgets"
Hi,

> how long does it take to create the widgets?
Just a 5 to 10 minutes to define the general settings in Widget

> For how many users?
No matter how many users, just add a new agent to the list and search for the username in the PBX. Estimated time, 1 minute per User.

> How much time should be scheduled for testing (with the customer)?
This depends if it's an on-premise system or a system in the cloud.
The prerequisites should be fulfilled so that the communication from external internet to the PBX trough the existing Firewall is allowed.

> How much time for a possible follow-up treatment?
Not sure what you ment with this follow-up treatment.

> Copying and pasting a few lines of code is not the only part of such a project.
Well if your system is already up and running, Widget App is running, Port and UC license are available for the connection between the Contact Widget App and the PBX, just copying these few lines of code complete the job.
You can try it yourself with the V14Beta. Copy these lines of code in a html file and upload it within a shared files folder on your App Platform.
Open the html file in a browser on this shared location and your Contact Widget is available for testing.

> I am also interested in how much others would calculate for such a project in total.
It's up to our partners how many they charge for these specific services to the endcustomer.

BR,
Karl

Picture of Thomas Ackermann (innovaphone)
Moderator Registered 12 years 188 days
Thomas Ackermann (innovaphone) Tuesday, 14 November 2023, 03:25 PM
Re: Implementation "contact widgets"

Seems the Contact Widgets App is a good candidate for another video tutorial. lächelnd

/Thomas

Picture of Jean-Francois 1756
Registered 11 years 6 days
Jean-Francois 1756 Monday, 27 November 2023, 10:20 AM
Re: Implementation "contact widgets"
Thanks for your reponses
Picture of Jean-Francois 1756
Registered 11 years 6 days
Jean-Francois 1756 Monday, 4 December 2023, 04:42 PM in response to Thomas Ackermann (innovaphone)
Re: Implementation "contact widgets"
Hello Thomas

The HTML code is added on the web site but nothing appears...


In the console we receive these errors:

innovaphone-widget.js:61 Assertion failed: ws!

wsOpen @ innovaphone-widget.js:61

cssLoaded @ innovaphone-widget.js:55

load (async)

load @ innovaphone-widget.js:44

(anonymous) @ app.js:402

innovaphone-widget.js:72 Assertion failed: Wrong websocket connection!

wsConnected @ innovaphone-widget.js:72

2innovaphone-widget.js:73 wsConnected()

innovaphone-widget.js:80 wsMessage() mt=EchoResult

innovaphone-widget.js:80 wsMessage() mt=Name

innovaphone-widget.js:80 wsMessage() mt=IceConfig

2innovaphone-widget.js:80 wsMessage() mt=Info

2innovaphone-widget.js:80 wsMessage() mt=Picture

collect:1


Do you have an idea ?


Thanks smile

Picture of Thomas Ackermann (innovaphone)
Moderator Registered 12 years 188 days
Thomas Ackermann (innovaphone) Friday, 22 December 2023, 09:54 AM
1 of 1 users consider this post helpful
Re: Implementation "contact widgets"
Sorry for the late reply.
Something seems to go wrong acording to your traces.
Does the problem still exist?
Could you please update to the now released 14r1 final (1410478).

I can reproduce this error if the function loadWidget() is called twice on the same webpage.
As shown in the screenshot.
Please double check to have the widget code included correctly.

Screenshot_2023-12-22_094714.png

Best regards
Thomas
Picture of Karl Pennings Kally (innovaphone)
Moderator Registered 8 years 128 days
Karl Pennings Kally (innovaphone) Friday, 2 February 2024, 04:24 PM in response to Jean-Francois 1756
Re: Implementation "contact widgets"
Salut JF,

Was this problem solved?
If yes please mention it.
If not, please contact me for further investigation.

BR,
Karl
← You can define your color theme preference here