Search found 37 matches

by timothymeyer16
Tue Sep 14, 2021 2:35 pm
Forum: General
Topic: Programmatically Adding Profiles to Document Trees
Replies: 3
Views: 3826

Programmatically Adding Profiles to Document Trees

Good Afternoon, I'm working on a script to clean up our document tree profiles. The code below shows how I am able to pull the profiles associated to an IDocumentTree item. However, I can not seem to set or add or remove profiles to said IDocumentTree instance. Is this possible? foreach (IDocumentTr...
by timothymeyer16
Thu Sep 02, 2021 10:20 am
Forum: Integration Development
Topic: Initializing Console Application Bundle Installation
Replies: 6
Views: 1341

Re: Initializing Console Application Bundle Installation

Good Morning, The Following suddenly stopped working for us yesterday. Environment.SetEnvironmentVariable("SPS_DISABLECERTPIN", "1", EnvironmentVariableTarget.Process); ss.EnsureAuthenticated(); Console.WriteLine("Ensured Authentication: " + ss.HasAuthenticated.ToString...
by timothymeyer16
Mon Aug 16, 2021 2:27 pm
Forum: Integration Development
Topic: Initializing Console Application Bundle Installation
Replies: 6
Views: 1341

Re: Initializing Console Application Bundle Installation

Working now, thank you for your help.
by timothymeyer16
Mon Aug 16, 2021 1:30 pm
Forum: Integration Development
Topic: Initializing Console Application Bundle Installation
Replies: 6
Views: 1341

Re: Initializing Console Application Bundle Installation

Hi Bob, thank you! (The cross post was just a user error). I did have a quick update - the majority of the errors are eliminated by initializing the progress and token like so: Updated Code IBundleManager BundleManager = ss.GetService<IBundleManager>(); Stream bundleStream = File.Open(bundlePath, Fi...
by timothymeyer16
Mon Aug 16, 2021 9:32 am
Forum: Integration Development
Topic: Initializing Console Application Bundle Installation
Replies: 6
Views: 1341

Initializing Console Application Bundle Installation

Objective: We're attempting to automate bundle installations. Error Information: Primaray Error Object reference not set to an instance of an object. More Information We connect a stream to the .bnd file, which is then locked by windows, so we believe the error is with IProgress or the Cancelation ...
by timothymeyer16
Mon Aug 16, 2021 9:27 am
Forum: General
Topic: Initializing Console Application Bundle Installation
Replies: 0
Views: 25634

Initializing Console Application Bundle Installation

Objective: We're attempting to automate bundle installations. Error Information We connect a stream to the .bnd file, which is then locked by windows, so we believe the error is with IProgress or the Cancelation token. We're unsure of the values we should be assigning to Iprogress and the cancelati...
by timothymeyer16
Wed Jul 07, 2021 9:57 am
Forum: Automation Code Snippets
Topic: Get Value for Attachment Description
Replies: 4
Views: 2306

Re: Get Value for Attachment Description

Hi Bob, First time poster here, please let me know if I make any Faux Pas. Also, thank you for all you're posts, they're extremely helpful. The CORs example you provided worked well in CORs. I was able to iterate and analyze the files (and file size) as needed. However, I was unable to implement thi...