Recent Posts

Pages: [1] 2 3 ... 10
1
Common problems / Application Roles with Windows Client
« Last post by dcooper on January 11, 2020, 09:25:22 AM »
Looking to get feedback from anyone that has implemented 'Application Roles' for database security in Windows Client.
2
Common problems / Re: Assembly not found during ServerTask Call.
« Last post by grondeau on November 14, 2019, 05:08:49 AM »
Hi. No, the two dll are separated. It is part of the reason I am so confused! While calling the server Task, it is the name of the client task that is shown in the error message.

The calling client Task is the one shown before: "Pcm.Client.FormTasks.Company"
The called server Task should be in an assembly called "Pcm.Server.FormTasks.Company".

Sorry for the misunderstanding.

And the error is shown when passing on the line "SystemClient.ExecuteServerTask". It did not reach my breakpoint in the beginning on the server Task.
3
Common problems / Re: Assembly not found during ServerTask Call.
« Last post by MartinR on November 14, 2019, 04:33:29 AM »
I assume the is error generated on the server (ie in the Pivotal event log)? 

Do you really have a server task in an assembly called Pcm.Client.something?  That's a really bad idea - server and client code should not be mixed in a single assembly or you will have to add all sorts of extra assemblies to both sides.

If you MUST have the server code in a client task, then when you import the client task you need to tick the Server box as well as the client box or it will not be downloaded to the server tasks folder.  But really, just don't have server code in a client task, put it in a server task!

Martin
4
Common problems / Assembly not found during ServerTask Call.
« Last post by grondeau on November 13, 2019, 10:37:30 AM »
Hi.

When exectuing the following call:

"Id returnParamsHome = (Id)SystemClient.ExecuteServerTask("Address Management", "CreateRecord", new Type[] { typeof(string[]), typeof(object[]) }, new object[] { AddressDetail[0], AddressDetail[1] });"

I get the following error:

"Error calling server task.
Impossible to fing assembly 'Pcm.Client.FormTasks.Company, Version=6.5.3.1, Culture=neutral, PublicKeyToken=47e8a196c40562a5'."

(The error message I get is in French, so it might not be an exact translation)

I tried looking to see if, maybe, the client dll didn't get into the ServerTask for some reason, but everything seems to be in order. Another thing I tried is getting the ServerTask MetaItem, and the methods I'm trying to call aren't listed in the WorkFlowCompatibleMethods list of the ServerTask object.

Any help would be appreciated.
5
General Discussion / Re: Is this forum dead?
« Last post by crmpimp on October 14, 2019, 05:25:28 AM »
its not completely dead; its just that people stopped using this, so not that many 3rd party people login anymore.

I don't generally post questions (I'm more of an answer guy), but I'll start looking into the forum more often, if that helps :-)
6
Sedna (Pivotal 6) / Re: Manually load secondary data with security and filters
« Last post by MarcK4096 on August 26, 2019, 11:23:51 AM »
I think "DefaultDataAccess" is a member of the base server task class.  For client side, you would use something like Globals.GetDataTable.

If that's not sufficient, the source code for Globals.GetDataTable will be available in Applications.Core.Client project.
7
Sedna (Pivotal 6) / Re: Manually load secondary data with security and filters
« Last post by Misiu on June 11, 2019, 02:31:51 AM »
I can't find that method?
What DLL is it in?
I'm creating my ClientTasks by extending FormClientTask.
Is this method available on the client side or only on the server side?
8
Default.DataAccess.GetDataTable ???
9
Sedna (Pivotal 6) / Re: Pivotal 6.7
« Last post by jricardodiazl on June 10, 2019, 03:57:29 PM »
I think that the 6.7 will be released at end of this year.

The last conferences only does mentions to PIVOTAL on Cloud but I don't see nothing about async/awiat on ST. Only on UX Client scripts I see async methods

regards
10
General Discussion / Re: Is this forum dead?
« Last post by jricardodiazl on June 10, 2019, 03:54:05 PM »
Now the support site for PIVOTAL is available on: https://support.avolin.com

Regards
Pages: [1] 2 3 ... 10