Search found 61 matches

by Graham Campbell
Fri Dec 04, 2015 7:40 pm
Forum: Shell (User Interface)
Topic: Custom Start Page Task Summary
Replies: 1
Views: 804

Re: Custom Start Page Task Summary

I think you likely just have the wrong object. Try it this way:

Code: Select all

var envICE = _spServer.GetService<IEnvICE>();
dynamic workflow = envICE.GetObject("Workflow");

var summary = workflow.WorkflowSummary;
summary.Refresh();
by Graham Campbell
Mon Oct 19, 2015 3:24 pm
Forum: Integration Development
Topic: User group membership (including inherited)
Replies: 1
Views: 470

Re: User group membership (including inherited)

This is possible through the public API. You will need to include the SoftPro.Select.Client.Security namespace to find the extension method that you need. Here is an example: // Include the namespace for the extension method. using SoftPro.Select.Client.Security; // The user we need to know the grou...
by Graham Campbell
Tue Oct 13, 2015 3:51 pm
Forum: Integration Development
Topic: Using IPolicyManager
Replies: 9
Views: 1395

Re: Using IPolicyManager

By the way, when the Order leverages the IPolicyManager, it uses its OwnershipProfile property. If you are trying to replicate the behavior of the application, you will want to use this as well rather than the ActiveProfile.
by Graham Campbell
Tue Oct 13, 2015 3:44 pm
Forum: Integration Development
Topic: Using IPolicyManager
Replies: 9
Views: 1395

Re: Using IPolicyManager

The IPolicyManager API requires the consumer to specify what profile to use when querying for results. Please try something like this: IProfileManager profileManager = Sps.GetService<IProfileManager>(); IPolicyManager pm = Sps.GetService<IPolicyManager>(); IPolicy p = pm.Policies.HavingProfile(profi...
by Graham Campbell
Wed Jul 08, 2015 3:15 pm
Forum: Integration Development
Topic: LookupSuppressionBlock
Replies: 1
Views: 508

Re: LookupSuppressionBlock

If I am reading your question correctly, then yes, the lookups would be suppressed for your one line of code where you set the Zip field. All lookups will be suppressed on the thread until you exit your using statement. As soon as your using statement resolves, lookups should continue on that thread...
by Graham Campbell
Wed Jun 17, 2015 9:25 am
Forum: Integration Development
Topic: Adding Exceptions
Replies: 5
Views: 1313

Re: Adding Exceptions

You are correct that this work is exclusively done on the client, so it would not impact server components.
by Graham Campbell
Tue Jun 16, 2015 4:18 pm
Forum: Integration Development
Topic: Adding Exceptions
Replies: 5
Views: 1313

Re: Adding Exceptions

Hi Peter, The prompt dialog you are encountering is where we are doing eager gathering of information which is filled into the <PROMPT> tags from the example you provided when the value was retrieved via the lookups subsystem. Unfortunately, today there is not a public API point where you can hook t...
by Graham Campbell
Tue Feb 10, 2015 11:29 am
Forum: Integration Development
Topic: Create Task from ILookupRow
Replies: 4
Views: 856

Re: Create Task from ILookupRow

The lookups system is actually integrated into the Order model. By simply setting the Description field on the Task via the API, the lookup should automatically be retrieved and populate the rest of the data. There is a way to turn off this lookups behavior, but by default it should automatically po...
by Graham Campbell
Mon Feb 09, 2015 6:25 pm
Forum: Integration Development
Topic: Create Task from ILookupRow
Replies: 4
Views: 856

Re: Create Task from ILookupRow

Out of the box, we provide two lookup tables for Tasks named "Checklist Task" and "Requested Task". These tables use the ".Description" field as the key field to their respective lookup table, which is available on the Task object. This is the most likely candidate to f...
by Graham Campbell
Mon Feb 09, 2015 11:35 am
Forum: Integration Development
Topic: Failed to allocate a mananged memory buffer
Replies: 3
Views: 660

Re: Failed to allocate a mananged memory buffer

You may want to try this syntax instead: SelectServer sps = GetService<SelectServer>(); IOrderStore orderStore = sps.GetService<IOrderStore>(); IOrderInfo orderInfo = orderStore.Orders.Where(o => o.Identifier == myOrderIdentifier).FirstOrDefault(); There was at one time, and likely still is, a limit...