Search found 46 matches

by MattW
Thu Jul 19, 2018 3:05 pm
Forum: Server
Topic: IAttachmentFile error
Replies: 9
Views: 6242

Re: IAttachmentFile error

It's worth noting that this code used to work, but stopped within the last month or so. We aren’t exactly sure when the error started happening, but it shows in our error logs going back to the middle of June. The code in question didn't change -- it just started getting this security error. The onl...
by MattW
Thu Jul 19, 2018 1:07 pm
Forum: Server
Topic: IAttachmentFile error
Replies: 9
Views: 6242

Re: IAttachmentFile error

Not sure that's it. As I said, the code works fine when running from a shell package, but fails when running from the server package. I have permissions in SPAdmin set up correctly, otherwise I wouldn't be able to see or do anything with attachments through the UI, which I can.
by MattW
Thu Jul 19, 2018 12:26 pm
Forum: Server
Topic: IAttachmentFile error
Replies: 9
Views: 6242

Re: IAttachmentFile error

Some additional information: I was able to get the stream directly from the IBlobStore service, but this only works for preexisting attachment (this also bypasses the ThrowIfCannotViewFiles check and whatever consequences that includes). After decompiling AttachmentFile.GetStream(), it looks like th...
by MattW
Wed Jul 18, 2018 3:37 pm
Forum: Server
Topic: IAttachmentFile error
Replies: 9
Views: 6242

IAttachmentFile error

We are trying to read an attachment during the ordersaving event on the ServerPackge, but receive a security exception every time we call GetStream() on the IAttachmentFile. Are there any special dll's or handling needed to get the stream on the server side (the same method works fine on the client ...
by MattW
Thu Mar 08, 2018 5:11 pm
Forum: Integration Development
Topic: Possible IPdfToolsProvider bug
Replies: 1
Views: 575

Possible IPdfToolsProvider bug

Found what I think is a possible bug in IPdfToolsProvider service, specifically the Merge method. It seems that on occasion the stream that it returns will already be disposed, causing an exception any time you access it. I was able to get this to happen (albiet unreliably) with a test case by tryin...
by MattW
Wed Feb 21, 2018 6:51 pm
Forum: Shell (User Interface)
Topic: Custom Combo Button
Replies: 1
Views: 975

Custom Combo Button

Is there a way to add a custom drop down button to the ribbon?
Would like something exactly like the New Order button on the ProForms tab.
by MattW
Mon Nov 13, 2017 6:02 pm
Forum: Integration Development
Topic: Server Package Automation Script
Replies: 1
Views: 692

Server Package Automation Script

Is there a way to add and remove server packages automatically without manually navigating through the SoftPro Select Services interface? Ideally would like to be able to run a batch file that adds/removes packages either by launching a softpro tool with certain flags, some interface available on th...
by MattW
Mon Nov 13, 2017 10:11 am
Forum: Integration Development
Topic: Order Version Error on open
Replies: 1
Views: 637

Order Version Error on open

Came across what appears to be a bug with the OrderIdentifier when using the default version retrieved from a search: The following code throws the error "Exclusive locks are only supported when opening the latest order version." : var oi = os.Orders.Where(x => x.Number == owd.OrderNumber)...
by MattW
Thu Jul 27, 2017 3:36 pm
Forum: Integration Development
Topic: Retrieving order already open in UI
Replies: 1
Views: 689

Retrieving order already open in UI

We have a custom start page implemented , and on this start page you can see a list of orders to open in custom form and modify and save. When an order is already open in the standard Select window, we would like to also be able to open it (ideally grabbing the currently open order instance) in our ...
by MattW
Fri Jun 23, 2017 10:05 am
Forum: Integration Development
Topic: RTF Format Error
Replies: 5
Views: 1140

Re: RTF Format Error

Good news is you were still able to help me!

I didn't realize how critical calling ResetText() on the control was before setting it (even when being set for the first time) - adding that line seems to have fixed the issue reliably.

Thanks!