Technical Product Forums

0 Abonnenter

3 Emner

4856 Samtaler

An areas to discuss Networks/Systems administration type questions about SuperOffice products. Ask product configuration type questions in the Administrator Forums (not here in the technical area).

Emner

info
Se mer expand_more
See less expand_less
push_pin lock

Intellisense in crmscript for new Appointment functions

Using crmscript online, the new functions for Appointment is missing in Intellisense. AppointmentEntity.GetTitle(); AppointmentEntity.GetAgenda(); AppointmentEntity.GetInternalNotes(); Is there further more a way to get these in a none-html version?

KR

Kasper Rosenlund
2
1
3 t, 1 m siden | 11:27 a.m.
Emne:
CRM Web Application

Siste svar

Hi Kasper, they where actually just added in the documentation, so I assume they will show up in a upcoming version (see here: https://github.com/SuperOfficeDocs/superoffice-docs/pull/1219 ) For converting html to plain text, you can use the htmlConvToText global CRMScript method
by David Hollegien
49 m siden | 01:39 p.m.
push_pin lock

Webhooks missing in Online the last week?

Hi, we've had a few cases now for different customers where we are using webhooks to detect changes in SuperOffice, where the webhooks have stopped working. Actually it seems like the entire webhook definition has been deleted. In the case I'm troubleshooting right now it seems like webhooks were removed on 7th feb, the day Online was down all day. Has anyone else had issues with webhooks the last week?
Frode Lillerud
3
4
15. feb. 2024 | 12:55 p.m.
Emne:
CRM Web Application

Siste svar

As Margrethe said it seems to be working now. All the previous webhooks returned and started working again. Thanks

HF

by Hampus Fältström
3. mai 2024 | 09:24 a.m.
push_pin lock

Tray App problems in SuperOffice 10.3.3 Onsite

  I have upgraded a Onsite Customer to SuperOffice 10.3.3 version and I have a problem with the TrayApp not connecting. I am using the latets Webtools version  I have tried to deploy a whole new database and a plain SuperOffice install. Using SuperOffice user and Password Below is the error message in plain-text SoException: Error 'UnknownError' on Server: Object reference not set to an instance of an object. Stack Trace:    ved SuperOffice.TrayApp.Client.TrayAppServer.ExecutionHelper.Execute[TRequest,TResponse,TTrayApp](OnPrapareRequest`1 prepare, OnExecute`3 execute, Boolean rethrowActionNotSupportedExceptions, Boolean rethrowEndpointNotFoundExceptions)    ved SuperOffice.TrayApp.Client.TrayAppServer.Hello()    ved SuperOffice.TrayApp.Client.UI.BasicNotifyIcon.Login_Impl(Object siteObj) Source: SuperOffice.TrayApp.Client SoServerErrorException: Object reference not set to an instance of an object. Stack Trace:    ved SuperOffice.TrayApp.Client.TrayAppServer.ExecutionHelper.Execute[TRequest,TResponse,TTrayApp](OnPrapareRequest`1 prepare, OnExecute`3 execute, Boolean rethrowActionNotSupportedExceptions, Boolean rethrowEndpointNotFoundExceptions) Source: SuperOffice.TrayApp.Client The logfile from the trayapp says this: 02-04-2024    15:55:14    10736    163    N/A    Starting thread: Connection attempt thread for https://superoffice.company.com:443/SuperOffice/ 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    DoWork 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    Looking up status for site https://superoffice.company.com:443/SuperOffice/ 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    Attempting to connect to site https://superoffice.company.com:443/SuperOffice/ 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    ContextBlock.Enter: ExecutionHelper.Execute - _siteInfo lock 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    ContextBlock.Leave: ExecutionHelper.Execute - _siteInfo lock 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    ERROR: Attempting to connect to site https://superoffice.company.com:443/SuperOffice/: SuperOffice.Exceptions.SoException: Error 'UnknownError' on Server: Object reference not set to an instance of an object. ---> SuperOffice.TrayApp.Client.SoServerErrorException: Object reference not set to an instance of an object.    at SuperOffice.TrayApp.Client.TrayAppServer.ExecutionHelper.Execute[TRequest,TResponse,TTrayApp](OnPrapareRequest`1 prepare, OnExecute`3 execute, Boolean rethrowActionNotSupportedExceptions, Boolean rethrowEndpointNotFoundExceptions)    --- End of inner exception stack trace ---    at SuperOffice.TrayApp.Client.TrayAppServer.ExecutionHelper.Execute[TRequest,TResponse,TTrayApp](OnPrapareRequest`1 prepare, OnExecute`3 execute, Boolean rethrowActionNotSupportedExceptions, Boolean rethrowEndpointNotFoundExceptions)    at SuperOffice.TrayApp.Client.TrayAppServer.Hello()    at SuperOffice.TrayApp.Client.SignalR.ConnectionScheduler.Connect_Impl() 02-04-2024    15:55:14    10736    117    Connection attempt thread for https://superoffice.company.com:443/SuperOffice/    Work finished
Søren Hartig
7
30
2. apr. 2024 | 03:58 p.m.
Emne:
CRM Web Application

Siste svar

This issue is fixed in 10.3.3 OnSite Hotfix1, due tomorrow.
by Helene Frenning Hansen
4. apr. 2024 | 03:46 p.m.
push_pin lock

Setting field `sale_id` on Ticket results in error

Hello,  I'm trying to link a sale to a ticket, using this endpoint: PATCH https://online3.superoffice.com/Custxxx/api/v1/Ticket/123 body= [{     "op" : "replace" ,     "path" : "sale_id" ,     "value" : "[I:456]" } ] but I'm getting an error: Bad Request — There is no property named "sale_id" on type TicketEntity. Looking in the documentation, at the Ticket table, I see that sale_id is listed (source https://docs.superoffice.com/en/database/tables/ticket.html) What am I doing wrong?
Camelia Smeria
2
4
2. apr. 2024 | 09:04 p.m.
Emne:
CRM Web Application

Siste svar

You don't have to encode the value in the scenario's, you only have to do that for custom fields where depending on the underlying field type (integer/double/text/datetime/etc) the value should be parsed in some way. If you set the value to '3300923' here it should work.
by David Hollegien
4. apr. 2024 | 01:09 p.m.
push_pin lock

How do I generate token for subscription link?

I want to create an access token for a specific user, using crmscript, and send it to them, so they can manage their subscriptions. How do I generate this using crm script?   <so-site>/customer.fcgi?action=updateSubscriptionsFrame&tk=<token>

KR

Kasper Rosenlund
2
2
25. mar. 2024 | 02:16 p.m.
Emne:
CRM Web Application

Siste svar

By looking at the values it stores in the TemporaryKey table, using domain = 1, target_id = -2, I managed to solve this using CreateTemporaryKey. Thank you, David!

KR

by Kasper Rosenlund
26. mar. 2024 | 08:57 a.m.
push_pin lock

Upgrading from 9 to 10 without internet access

Hi,  we're upgrading an onsite customer from 9 to 10, but the server doesn't have internet-access, so it fails with an error saying "There was no endpoint listening at https://license.superoffice.com/LicenseSvc/LicenseService.svc". We used the "Test upgrade" checkbox in DBSetup since this is their test-environment, and had hoped that would cause it to not try to contact the license server, but it did anyway. We have a license file from SuperOffice for v10, but probably need to get the version upgraded before we can give it the license file manually in CRM Admin. Does anyone have any tricks here? How to upgrade without having internet access?
Frode Lillerud
1
0
20. mar. 2024 | 10:48 a.m.
Emne:
CRM Web Application
push_pin lock

How to open new person page using soprotocol

Hi, We want to redirect the user from a desktop application to the 'create new person' page using soprotocol, but I can't seem to get that working, tried the following: ./default.aspx?person.main[mode=edit&new=true]?person_id=0 ./default.aspx?person.main?person_id=0 ./default.aspx?person[noupdate=true].main[mode=edit&new=true]?person_id=0 None of these work, all just open the current person. 
David Hollegien
2
4
1. mar. 2024 | 11:23 a.m.
Emne:
CRM Web Application

Siste svar

Yes it is public now, thanks!
by David Hollegien
7. mar. 2024 | 02:05 p.m.
push_pin lock

Connect with AD user to NetServer

I have a problem connecting to the NetServer when I use AD login, SoUsers works fine. To connect to the NetServer I use: services = new ServiceCollection(); services .AddNetServerCore<ProcessContextProvider>(options => { options.UseOnPremAD(); // See config section: ActiveDirectoryCredentialPlugin }) .AddSoDatabase() //.AddSingleton<ILogger, SuperOffice.Logging.SoLogger>() .AddSingleton<IContextInitializer, ContextInitializer>() ; provider = services.BuildServiceProvider(true); provider.RegisterWithNetServer(); But it can't atenticate with user/password. A funny thing is that the code (in a web.backend) connects without even the UseOnPremAD() option, BUT with a <USEC> from a web-panel. Has anyone experience with UseOnPremAD() option or simular?
Martin Andersen
2
4
23. feb. 2024 | 12:11 p.m.
Emne:
CRM Windows Application

Siste svar

SuperOffice.CRMScript.RTE.Client.dll is added to the nuget package from 10.3.3.
by Tony Yates
5. mar. 2024 | 11:24 a.m.
push_pin lock

ConsoleApp can not authenticate in 10.2.9

Hi! I wonder if something has happened between 10.2.1 and 10.2.9 In 10.2.1 we needed to do the stuf with register services to the NetServer My build up of the NetServer registration  Above was enough for 10.2.1 , I get Authentication Failed. Fetching userName and password from appSettngs section in configuration. (SO system user and pwd fetches ok but it is when doing :  The exception happens. (username and pwd is correctly fetched from the config file) What caught my Interest was the inner exception: "No service for type 'SuperOffice.CRM.Services.ISoPrincipalService' has been registered." That points me to that someThing more needs to be added to the NetServer registration? But I can not find out what. There is no .AddSingelton for: <ISoPrincipalService > that the exception spits out. Did same test with .AddSingleton<ISoIdentity , xxx>(); //Best regards Anders
Anders Larsson
2
1
27. feb. 2024 | 05:22 p.m.
Emne:
CRM Windows Application

Siste svar

Hi, It seems to hav happened a lot since 10.1.6/10.2.1 It would be nice with complet working console application with correct app.settings file and how to authenticate with username/password for Onsite 10.2.9 and onwards like this:. GitHub - SuperOffice/v10.1.x-examples: Contains breaking change examples for the SuperOffice 10.1.x releases. i am struggling to get a working 10.1.6 consoleapp to work with 10.2.9 onPrem. Any help is welcome  //Anders
by Anders Larsson
29. feb. 2024 | 09:30 a.m.
push_pin lock

Unsubscribe link fails for onsite 10.2.5 customer

An unsite 10.2.5 customer is using Marketing. Their customers get an error, when they try to access the unsubscibe link. How do I even start do debug this? I notice that the token in the url doesn't match the corresponding row in the TemporaryKey table - is this normal?

KR

Kasper Rosenlund
2
6
5. jan. 2024 | 11:43 a.m.
Emne:
CRM Web Application

Siste svar

Got it to work. Installed service from scratch in a seperate installation, and compared the template folder with the current 10.2.5. 2 files was missing from each language folder - updateSubscriptionFrame2.html and viewKbEntryNoCep.html. I guess it is the second file missing that coursed the problem :).

KR

by Kasper Rosenlund
19. jan. 2024 | 02:37 p.m.