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
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.
Image
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: http://forums.autodesk.com/t5/vault-customization/bd-p/301 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
Image
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: http://adndevblog.typepad.com/manufacturing/vault/
Image
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: http://forums.autodesk.com/t5/vault-customization/bd-p/301 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: http://au.autodesk.com/au-online/classes-on-demand/class-catalog/2013/vault-professional/dv1670
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: http://au.autodesk.com/au-online/classes-on-demand/class-catalog/2014/vault/sd5329
Toggle Commented Jan 21, 2015 on BOM Report Job at It's All Just Ones and Zeros
In the Vault 2015 R2 release, the old Item lifecycle engine was replaced with the entity-based engine used by Files and Folders. The good news is that the entity-based engine is filled with awesome features to make your Items more useful. The bad news is that you have to update your code. If you already know how to change File Lifecycle States, then you pretty much know how to change Item Lifecycle States. This article is geared mostly to those that use Items but are not familiar with the File/Folder lifecycle engine. Step 1: Figuring out the States and Transitions... Continue reading
Posted Jan 8, 2015 at It's All Just Ones and Zeros
No. This app has not been updated and there are no plans to update at the moment.
That does not sound like intended behavior. If you are an ADN member you should log the issue with them. Otherwise you can post the issue on the Vault API discussion group http://forums.autodesk.com/t5/vault-customization/bd-p/301 In the meantime, the workaround is to fix the file name after the download is complete.
Toggle Commented Nov 19, 2014 on How to Acquire Files at It's All Just Ones and Zeros
Correct, that service pack is not for the R2 release.
Toggle Commented Nov 11, 2014 on Vault 2015 R2 at It's All Just Ones and Zeros
Many of you doing development on Vault 2015 R2 have noticed some issues with the SDK. For example, the What’s New page is for the 2015 release and there is no list of changes for 2015 R2. Those issues should now be fixed. Sorry for the inconvenience. Please un-install your current Vault 2015 R2 SDK and install the fixed SDK: Vault_2015_R2_SDK-Fixed.zip If you have questions about the Vault API, the best place to go is the Vault Customization discussion group. Continue reading
Posted Nov 7, 2014 at It's All Just Ones and Zeros
What are you asking? You want to remove your email address from your posts in the comments section?
If you know the Vault path, you can call FindFilesBySearchConditions and pass in the Folder Id. The search will only be applied to objects in that folder and any sub-folders. Going from a local folder on disk to a Vault folder is a bit tricky. I think most people start at the root Vault folder, get the working folder (Connection.WorkingFoldersManager.GetWorkingFolder()) and use that to map between local path and Vault path. This only works if the sub-folders don't define their own working folder in another location.
DocumentService.GetNumberingSchemesByType() returns an array of NumSchm objects. Each one of those objects has a full description of a numbering scheme, including the fields involved. Keep in mind that NumSchmField can be subclassed into objects that are specialized to each field type (FreeTxtField, AutogenField, and so on).
There is no easy way to read that data. The vcet.config is for the plug-in loader framework. If your app wants to store settings, I suggest doing it in another file.