This is Doug Redmond's Typepad Profile.
Join Typepad and start following Doug Redmond's activity
Join Now!
Already a member? Sign In
Doug Redmond
Recent Activity
Use FindLinksBySearchConditions to search for links. If you want to find Files and Links within a folder, you will need to make 2 API calls, one for Files and one for Links.
The "Changes" page in the SDK docs should tell you what to use for removed functions. I apologize if this was not done. GetUseACLForItemLifeCycleStates is no longer a global setting. You can read the StateBasedSec value off the LfCycState object. Call LifeCycleService.GetLifeCycleStatesByIds to get the lifecycle state object. GetItemLifeCycleStatesACL has been replaced with LifeCycleService.GetStateACLByLifeCycleStateId.
It should be fairly easy to update this app since it's not a plug-in. Here are the basic steps: 1. Download the source code. 2. Open the project in the latest Visual Studio version. 3. Set the references to the 2015 or 2016 Vault SDK DLLs. 4. Fix any compile errors that may arise from changed APIs. See the "Changes" pages in the SDK documentation.
Toggle Commented Jun 23, 2015 on Q-2ools at It's All Just Ones and Zeros
Sorry, there's no 2016 version. You need to download the source and update the app. I can't think of any other option if you want to view a PLM page inside of the Vault client. I don't know much about the Jitterbit integration. I'm assuming that the Vault object will have properties on it, such as DMSID, that allow you to build the PLM url. If you don't have that, then Web View won't be much help.
Thunderdome supports only one deployment package. It's a great idea though. You should suggest it The Vault team is now maintaining that app.
Sorry no. It only runs in the 2014 client. However, the source code is available, so somebody may decide to update it for the 2016 version.
There are a few strange cases where you can't read data in Readonly mode. ACL data is probably one of those cases. Security is considered an administator function, so not much thought was put into read-only workflows. For a workaround, your app can do a Standard login, read the security and log out quickly.
I think that vanilla AutoCAD does not supply BOM information because it doesn't understand the design enough. You need AutoCAD Mechanical or AutoCAD Electrical if you want BOM information. Vault still lets you run "Assign Item" on a file with no BOM. In this case Vault creates a default BOM of just a single Item.
Toggle Commented May 6, 2015 on The BOM Pipeline at It's All Just Ones and Zeros
By "clean out" you mean delete? No, you can't delete jobs through a prompt. You would need to write a custom app to delete that many jobs.
Sorry, it only works with Vault 2012. To use with 2015 R2, somebody with programming experience would need to download the source and update it.
In the last post, we talked about action script. Today, let's focus on the other two types of scripts: condition and validation scripts. Unlike action scripts, both condition and validation scripts only serve workflow transitions. The workflow transition properties is the only place to setup the references to them. Continue reading
Posted Apr 10, 2015 at It's All Just Ones and Zeros
You may have noticed that the last couple of articles have come from a new blogger. Please join me in welcoming Michal Liu to the blogosphere. He is the scripting expert on the PLM 360 development team. After 5+ years of running this blog, it’s nice to get some new blood. Continue reading
Posted Apr 7, 2015 at It's All Just Ones and Zeros
Is the error thrown on UpdateAndCommitItems? If so, I suggest looking at the "status" array on the itemsAndFiles object. If the status on an Item is 1 (unaffected), then the Item wasn't edited. When calling UpdateAndCommitItems, only pass in the Items that were promoted or updated.
I suggest posting this issue to the Vault Customization discussion group: You should also include relevant code snippets from your project.
Toggle Commented Mar 26, 2015 on Event Scope at It's All Just Ones and Zeros
Action scripts can be used to create items, edit item field values, update bill of materials, perform workflow transitions and so on. In my previous post, the script we created for the Hello World example is an action script used to update an item’s title to “Hello World”. An action script can be divided into on-create script, on-edit script, on-demand script, and workflow script according to how it is triggered. Continue reading
Posted Mar 23, 2015 at It's All Just Ones and Zeros
I'm still here, but my current product doesn't have a public API. That's why I haven't been posting much on Vault lately; I'm not on that product anymore. I'm hoping to find a developer on the Vault team to post new content. In the meantime, ADN posts Vault articles on their blog:
Hi, I'm Michal Liu, a developer on PLM 360. I will be showing you how to get the most out of PLM scripting. As this is my first post, I am going to walk through the process to create and run a simple script code. In future posts, I will dive into some topics like script types, triggers, script chain, programming tabs and so on. For now, let's just build a "hello world" code. Continue reading
Posted Mar 13, 2015 at It's All Just Ones and Zeros
Offhand, I don't know of any "encrypted characters" issues. I suggest posing this issue to the Vault Customization group: That way you can post screenshots and source code.
I'm not aware of any plans by the Vault team for updating these videos. However, there is a recorded AU class that goes over the VDF:
If you want to update a Vault property and that property is mapped to a value within the file, you have a couple of options, and they both suck. This post is to introduce a third, and non-sucky, option in Vault 2015 R2. Again, I’ll be using the previously undocumented functions from Copy Design. Continue reading
Posted Feb 25, 2015 at It's All Just Ones and Zeros
Yep, that was a typo. Thanks for letting me know.
Toggle Commented Feb 12, 2015 on The Loader Framework at It's All Just Ones and Zeros
- The Vault add-in gets around this issue by spawning a new process. - Yes, this DLL is still around in 2015 but "UpdateFileProperties" is the only function it does. The rest of the features have been moved to other parts of the API. If you use the 2015 DLL, then you will need the Vault 2015 client installed as well.
Previously, I documented two new functions related to the new Copy Design app in Vault 2015 R2. Now I would like to explore some uses for those functions. The most obvious usage is to build your own Copy Design algorithm that meets your specific needs. Continue reading
Posted Feb 11, 2015 at It's All Just Ones and Zeros
There are some undocumented functions in Vault 2015 R2 I’d like to tell you about. Of course, the process of me telling you about them essentially makes them documented. So by the time you get to the bottom of this article, the title becomes untrue. Continue reading
Posted Jan 30, 2015 at It's All Just Ones and Zeros
Normally I don't include VB.NET examples because there are web sites you can go to that do the conversion automatically. But in this case, I included the app in an AU class, and built a VB.NET example for it. You can find it in the Additional Materials download of my AU class:
Toggle Commented Jan 21, 2015 on BOM Report Job at It's All Just Ones and Zeros