Technical Product Forums

0 Prenumeranter

3 Ämnen

4855 Samtal

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).

Ämnen

info
Se mer expand_more
See less expand_less
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 em
Ämne:
CRM Web Application

Senaste svar

This issue is fixed in 10.3.3 OnSite Hotfix1, due tomorrow.
by Helene Frenning Hansen
4. apr. 2024 | 03:46 em
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 em
Ämne:
CRM Web Application

Senaste 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 em
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. mars 2024 | 02:16 em
Ämne:
CRM Web Application

Senaste 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. mars 2024 | 08:57 fm
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. mars 2024 | 10:48 fm
Ämne:
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. mars 2024 | 11:23 fm
Ämne:
CRM Web Application

Senaste svar

Yes it is public now, thanks!
by David Hollegien
7. mars 2024 | 02:05 em
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 em
Ämne:
CRM Windows Application

Senaste svar

SuperOffice.CRMScript.RTE.Client.dll is added to the nuget package from 10.3.3.
by Tony Yates
5. mars 2024 | 11:24 fm
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 em
Ämne:
CRM Windows Application

Senaste 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 fm
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
2
1
15. feb. 2024 | 12:55 em
Ämne:
CRM Web Application

Senaste svar

We have had a few issues with them a few weeks ago especially with CRMScript one's where suddenly the CRMScript stops being triggered, but most webhooks issue we see are solved the next day when application pools are recyled (i suspected some caching issues are in play especially in combination with API cluster). Never have seen that the whole webhook definition is deleted though. Only seen them going to Stopped state or not being triggered.
by David Hollegien
15. feb. 2024 | 05:36 em
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 fm
Ämne:
CRM Web Application

Senaste 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 em
push_pin lock

Opening up new Service GUI for a new ticket but not setting customer as e-mail recipient?

Hi, I want to build a URL to go to the new Ticket screen in CRM for creating a brand new ticket, and have it linked to the correct customer, but do not want it to suggest to email the message to the customer. This is going to be used from a webpage we have internally for registering a new ticket. For example, if I browse to "https://online2.superoffice.com/CustXXXXX/default.aspx?ticket.new?person_id=5" it'll sometimes add the person as e-mail recipient, and sometimes not. How can I tell it to never add the e-mail recipient?  
Frode Lillerud
2
1
9. jan. 2024 | 01:52 em
Ämne:
CRM Web Application

Senaste svar

That ticket.new sometimes does and does not pre fill the correct info should be fixed in 10.2.11, see bug 47528 Passing 0 always creates a empty ticket for me: //default.aspx?ticket.new?person_id=0   Edit: Ah, you mean to connect the request to the person but not to the message (so basically create a comment), not sure that is possible. Basically you are asking the the return of the 'new quick request' functionality, which I wholeheartedly agree with. 😅
by David Hollegien
9. jan. 2024 | 02:54 em