Application Programming Interface forums

0 Abonnenter

3 Emner

4836 Samtaler

Area for questions and answers about SuperOffice API's.

push_pin lock

WebTools auto login not working due to download service being offline/unavailable

We are having an issue with webtools auto login (double click on the owl in the tray area), it doesnt work and the log file shows the following: Error    2024-04-30T09:02:31.15    SuperOffice.TrayApp.Server.TrayAppServer>Execute<TRequest, TResponse> SuperOffice.TrayApp.TrayApp2.GetAlarmsRequest SuperOffice.TrayApp.Server.TrayAppServer+OnExecute`2[SuperOffice.TrayApp.TrayApp2.GetAlarmsRequest,SuperOffice.TrayApp.TrayApp2.GetAlarmsResponse] MSSQL - 12 \\\ 1501235947 SuperOffice 10.3.3 NetServer 10.3 Release (Build: Release_OnSite_10.3.3_2024.04.17-01) 10.3.0.0 10.3.3.617 Release_OnSite_10.3.3_2024.04.17-01 Default ACRMWEB02 NetServer        TrayAppServer.Execute implementation failed SuperOffice.TrayApp.TrayApp2.GetAlarmsRequest DH (1993) - Authorized (Employee)Gebruikersniveau 0+:  MSSQL - 12 \\ACRMSQL10\SuperOffice_AllCRM (crm_AllCRM), Database serial #: 1501235947, Database Expiration Date: Friday, July 12, 2024 ACRMSQL10 SuperOffice_AllCRM 1501235947 SuperOffice 10.3.3 NetServer 10.3 Release (Build: Release_OnSite_10.3.3_2024.04.17-01) 10.3.0.0 10.3.3.617 Release_OnSite_10.3.3_2024.04.17-01 Default ACRMWEB02 NetServer Response status code does not indicate success: 502 (Bad Gateway).    at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()    at SuperOffice.Util.HttpHelper.GetObjectFromHttpSyncWithContent[T](String url, HttpServiceJwtConfig config, RequestType requestType, HttpContent content)    at SuperOffice.DCF.Web.WebTools.WebToolsVersionService.GetVersionResponse(String clientVersion)    at SuperOffice.TrayApp.Server.TrayAppServer.ApplyVersioningRules[TResponse,TRequest](TResponse response, TRequest request)    at SuperOffice.TrayApp.Server.TrayAppServer.Execute[TRequest,TResponse](TRequest request, OnExecute`2 implementation) System.Net.Http           Exception Message:Response status code does not indicate success: 502 (Bad Gateway).       Exception Source:System.Net.Http       Exception Target:System.Net.Http.HttpResponseMessage EnsureSuccessStatusCode()          at System.Net.Http.HttpResponseMessage.EnsureSuccessStatusCode()          at SuperOffice.Util.HttpHelper.GetObjectFromHttpSyncWithContent[T](String url, HttpServiceJwtConfig config, RequestType requestType, HttpContent content)          at SuperOffice.DCF.Web.WebTools.WebToolsVersionService.GetVersionResponse(String clientVersion)          at SuperOffice.TrayApp.Server.TrayAppServer.ApplyVersioningRules[TResponse,TRequest](TResponse response, TRequest request)          at SuperOffice.TrayApp.Server.TrayAppServer.Execute[TRequest,TResponse](TRequest request, OnExecute`2 implementation)   The download service is offline, so i guess that is the underyling issue (https://www3-superoffice-com.azurewebsites.net/DownloadService/) WebTools should still work when this isn't available... SuperOffice Version: SuperOffice CRM OnSite 10.3 Release_OnSite_10.3.3_2024.04.17-01 WebTools version:   
David Hollegien
1
1
30. apr. 2024 | 07.05 AM
Emne:
Online development and web service API's

Seneste svar

See https://status.superoffice.com/incidents/cnt699qd47sp
by David Hollegien
30. apr. 2024 | 08.29 AM
push_pin lock

RPA uipath

Wondering wheter it is is possible to use RPA application like uipath with superoffice or not.

K

Khan
2
1
29. apr. 2024 | 01.25 PM
Emne:
Application Programming Interface forums

Seneste svar

Hi Khan, It depends on what you are looking for. I haven't worked with UI Path explicitly, but many tools such as that might sometimes have an app store with existing connectors. As far as I know, there is no existing connector for this tool. Although, we have an existing Zapier-connector that might be possible to use for some events and workflows. You are also able to create an "custom app" that can communicate with SuperOffice Online's API, or build specific custom CRMScript-functions that could be called using a normal GET/POST-call, which could execute/return anything that CMRScript lets you do (within reason when it comes to data size). Zapier Info SuperOffice AppStore page https://appstore.superoffice.com/superoffice-as/zapier-integration Zapier AppStore page (scroll down on the page to see the different triggers available) https://zapier.com/apps/superofficecrm/integrations Custom CRMScript EndPoint https://docs.superoffice.com/en/automation/crmscript/tutorials/build-custom-rest-api-methods.html Custom App https://docs.superoffice.com/en/developer-portal/getting-started/index.html A "Custom App" is SuperOffice's way of packaging any kind of communication against our API.   Best Regards Marcus
by Marcus Svenningsson
29. apr. 2024 | 02.53 PM
push_pin lock

Navigate to custom URL

Hello All,   I was initially looking of setting up an URL on an error message so that users can click it and that will send them to a help document. But I was not able to make CRM script produce a clickable URL I found out about setNavigateTo, but unfortunatly, I cannot find a way to make it work with anything but Soprotocol. Is it possible to send the susers to a custom URL upon clicking Yes (for example)? Thank you!

AB

Andrei Berianu
2
4
24. apr. 2024 | 01.43 PM
Emne:
Service and CRMScript Discussion

Seneste svar

Hello David, Thank you!

AB

by Andrei Berianu
26. apr. 2024 | 10.39 AM
push_pin lock

Signature in Service Tickets depending on the category

Hello everyone, one customer of us requested this feature. The signature should be added automatically to the answer after clicking on "Answer" or "Answer to all" in the ticket. He has templates for each ticket category and want this to be taken depending on it. We didn't find an event for opening a new reply in crmscript. The current idea is to replace the default user signature every time the ticket is opened: Is there a better way to do it? is that even possible? Thank you in advance! Best regards, Andrey

AS

Andrey Stupak
1
0
26. apr. 2024 | 08.06 AM
Emne:
Service and CRMScript Discussion
push_pin lock

SSL peer certificate or SSH remote key was not OK

Hi dear Support, I  send in crm scripts Data to URL for our Web Apps, and got Error back: HTTPConnection::endRequest(): SSL peer certificate or SSH remote key was not OK. Therefore the Data in SO Cloud is not sent. I checked the URL has valid Certificate but with common Name: *.xxx.de The Web Apps of URL is hosted on our Webserver, According to our IT Support, it is about Wildcard Certificate with "*" in its name, so that its all Sub-Domain will be certifiable. however, it's a valid Certificates. How could I get around with this problem?   Thanks!
Jianchun You
3
7
22. apr. 2024 | 10.12 AM
Emne:
Service and CRMScript Discussion

Seneste svar

Hi Michel, yes, it works now with h.setOption("verifyHost", "false");
by Jianchun You
25. apr. 2024 | 02.07 PM
push_pin lock

Navigate to customer URL

Hello All,   I was initially looking of setting up an URL on an error message so that users can click it and that will send them to a help document. But I was not able to make CRM script produce a clickable URL   I found out about setNavigateTo, but unfortunatly, I cannot find a way to make it work with anything but Soprotocol. Is it possible to send the susers to a custom URL upon clicking Yes (for example)?   Thank you!

AB

Andrei Berianu
0
0
24. apr. 2024 | 01.42 PM
Emne:
Service and CRMScript Discussion
push_pin lock

Superoffice Customer logIn in external app

Hi, We are transitioning from on-premises to the cloud. On our on-premises system, it is possible to log in as a customer from your external website. Is this also possible in the cloud solution?

HL

Henrik Larsen
2
2
24. apr. 2024 | 08.45 AM
Emne:
Online development and web service API's

Seneste svar

Hi David We have a "Custom" customer website where our customers can log in and view their tickets in SuperOffice. And from your description is looks like this is no longer supported.

HL

by Henrik Larsen
24. apr. 2024 | 09.05 AM
push_pin lock

Correct url parameters for opening appointments?

Hi, We have had numerous issues with openening existing/new entities within SuperOffice using SOProtocol in the latest releases, some have been fixed now (see bug  52109 , 53660, 54066 ), but since release 10.3.4 we had a customer experience another issue, opening a existing appointment or creating a new appointment using a SOProtocol url would always open the latest appointment. We open the existing appointment like this; /default.aspx?appointment.main?appointment_id=<appointment id> And create a new appointment like this: /default.aspx?appointment.main?appointment_id=0&contact_id=0&person_id=0&calendarassociate_id=<id>&doby=<start date>&endDate=<end date>   We changed this now, to make it work again: Existing appointment: /default.aspx? appointment[mainmode=edit]? appointment_id=<appointment id> New appointment: /default.aspx? appointment[mainmode=edit&new=true] ?appointment_id=0&contact_id=0&person_id=0&calendarassociate_id=<id>&doby=<start date>&endDate=<end date>   Question is, is this the correct syntax now? Or is this going to break again in the next release?
David Hollegien
2
4
22. apr. 2024 | 08.43 AM
Emne:
Online development and web service API's

Seneste svar

Hi Tony, Thanks for the info. Would this mean that the way we are doing it now would break in next release? (then I know how much time we have once they are upgraded to 10.3.5 😅)
by David Hollegien
23. apr. 2024 | 11.53 AM
push_pin lock

Show script-based selection in CRM

Hi, Is it possible to show and edit a script-based selection in SuperOffice CRM?  (I would like to pass in a value as well for the selection so that it can update depending on the value. ) Regards Fredrik  

FL

Fredrik Larsson
2
1
22. apr. 2024 | 12.51 PM
Emne:
Service and CRMScript Discussion

Seneste svar

Hi Fredrik, No, Script based selections aren't available in the CRM client. 
by David Hollegien
22. apr. 2024 | 04.20 PM
push_pin lock

Setting Integer and Bool values in triggers

I'm making a new message trigger that should set an extra field on a ticket/request. for extra fields of type String this works as expected, but for Integer and Boolean I'm unable to set the value:   Integer ticketId = Integer(ed.getInputValue("outbox.ticketId"));   NSTicketAgent ticketAgent;   NSTicketEntity ticket = ticketAgent.GetTicketEntity(ticketId);   Map extras;   extras.insert("x_snorre", "string value inserted");    //works   extras.insert("x_snorre2", "34");       //don't work   extras.insert("x_snorre2", "[34]");     //don't work   extras.insert("x_snorre2", "[I:34]");   //don't work   ticket.SetExtraFields(extras);   ticketAgent.SaveTicketEntity(ticket);   Any suggestions?

SG

Snorre Garmann
2
2
22. apr. 2024 | 05.45 AM
Emne:
Service and CRMScript Discussion

Seneste svar

Hi Snorre, Extra Fields (for service entities) and User-Defined Fields (for Sales entities) are in transition to unifiy. If you use the CustomFields property instead, you should get better results. CustomFields is the new replacement that unifies them when applicable. Best regards. 
by Tony Yates
22. apr. 2024 | 07.18 AM