Search found 89 matches

by john.morton
Thu Apr 12, 2018 4:16 pm
Forum: Installation and Setup
Topic: Application Insights - how to?
Replies: 1
Views: 477

Re: Application Insights - how to?

1) As a system administrator/owner, How to make best use of the aggregated information the Application Insights feature can offer ? I understand there is some sort of dashboard or portal to access the aggregated data? In order to be able to access your information through the Microsoft Application ...
by john.morton
Mon May 15, 2017 5:01 pm
Forum: Integration Development
Topic: Best way to search and return results?
Replies: 4
Views: 658

Re: Best way to search and return results?

I'm not a Workflow expert, so I'm assuming you're talking about finding orders that have specific kinds of Tasks on them... if this is not the case, please let me know. That being said, you can use the LINQ expression on the NewOrderSearch() method to search on child items like Tasks using the Any()...
by john.morton
Mon May 15, 2017 3:46 pm
Forum: Integration Development
Topic: Best way to search and return results?
Replies: 4
Views: 658

Re: Best way to search and return results?

I would recommend using the ISearchObject NewOrderSearch(Expression<Func<IOrderSearchFields, bool>> expr) method. var os = ss.GetService<IOrderStore>(); searchObject = os.NewOrderSearch(i => i.EscrowStatus == EscrowStatus.InProcess); var orders = os.Orders.Search(searchObject).ToList(); This could, ...
by john.morton
Thu Jul 31, 2014 2:33 pm
Forum: Installation and Setup
Topic: Pooled Server not showing up in Connect to Select Server
Replies: 4
Views: 375

Re: Pooled Server not showing up in Connect to Select Server

I believe the port used for UDP discovery is 3702.
by john.morton
Thu Jul 31, 2014 8:13 am
Forum: Installation and Setup
Topic: Pooled Server not showing up in Connect to Select Server
Replies: 4
Views: 375

Re: Pooled Server not showing up in Connect to Select Server

The "Connect to Select Server" screen uses a UDP broadcast to try and find mid-tiers that are available. The most likely culprit, in my opinion, would be a network device between the client and server that's blocking UDP broadcasts.
by john.morton
Tue Jun 03, 2014 8:28 am
Forum: Integration Development
Topic: Detecting when an order is closing in 3.0?
Replies: 2
Views: 267

Re: Detecting when an order is closing in 3.0?

If you add a reference to SoftPro.Select.Shell, you should be able to use GetService to get a reference to the IRuningDocumentsManager2 interface. This interface has the kind of events I believe you're looking for. IRunningDocumentsManager2 docManager = selectServer.GetService<IRunningDocumentsManag...
by john.morton
Wed May 21, 2014 12:00 pm
Forum: Integration Development
Topic: Saving an order in 3.0
Replies: 2
Views: 258

Re: Saving an order in 3.0

There's a sample in the following thread that shows saving an order. Basically, you use the IOrderStore.ApplyChanges() method: http://www.softprocorp.com/devforum/viewtopic.php?f=19&t=348 ...and this thread has a sample of how to get the equivalent of "validationMessages" in 3.0. You can get use Get...
by john.morton
Wed May 21, 2014 10:07 am
Forum: Integration Development
Topic: Setting the OwningProfileID
Replies: 1
Views: 198

Re: Setting the OwningProfileID

Something like this should work:
IProfileManager profileManager = selectServer.GetService<IProfileManager>();
IProfileInfo profile = profileManager.Profiles.FirstOrDefault(p => p.Name == "Default");

if (profile != null)
{
order.SetProperty("OwnershipProfile", profile);
}
by john.morton
Mon May 19, 2014 10:18 am
Forum: Integration Development
Topic: ValidationMessage
Replies: 1
Views: 213

Re: ValidationMessage

The IOrder interface has a GetMessages method which returns IEnumerable<IOrderMessage> as shown...

Code: Select all

foreach(IOrderMessage error in order.GetMessages().Where(m => m.Level == OrderMessageLevel.Error))
{
      MessageBox.Show(error.Text, "An Error Occurred");
}
by john.morton
Mon Apr 07, 2014 2:50 pm
Forum: Integration Development
Topic: Notes for OrderChecklist.
Replies: 1
Views: 212

Re: Notes for OrderChecklist.

The below example shows one way to add a Note to an Order: Using order As IOrder = OrderStore.NewOrder() Try Dim DynOrder As Object = order Dim newNote As IOrderItem = order.CreateNew("Note") newNote.SetProperty("Text", "My First Note") newNote.SetProperty("IsInternal", True) Dim notes = DynOrder.No...