Fusion Lifecycle – Adding Logic to Advanced Print Views

Fusion Lifecycle allows you to send formatted emails using predefined fields used within the workspace through the Advanced Print View functionality. The functionality has limitations as it can’t perform additional logic on the fields values and it can’t capture transition state change comments to include in the email.

This can however still be accomplished using a predefined Advanced Print View (APV) and a simple JavaScript replace function. Within your APV template, include the string you want to replace as a place holder such as %COMMENTS% or {COMMENTS}. You can then follow-up by replacing the place holder with the actual value.

In the example shown, I’m replacing the %COMMENTS% place holder with the actual comments included during the workflow transition.

        // Send An Email Using An Advanced Print View
        email.to = userEmail;
        email.subject = "This is the email subject";
        email.body = getPrintView("EmailTemplate");
        email.body = email.body.replace("%COMMENTS%", item.workflowActions[0].comments);

Let me know if you find this tip helpful. Enjoy!

VN:F [1.9.22_1171]
Rating: 5.0/5 (3 votes cast)

Permanent link to this article: http://cadtoolbox.com/2019/09/25/fusion-lifecycle-adding-logic-to-advanced-print-views/

Fusion Lifecycle Development – Top 5 Tips & Tricks

I’m been developing custom workspaces and scripts for Autodesk Fusion Lifecycle for about 18 months now and have learned quite a bit about how the system works, the capabilities and features and limitations as well. What Autodesk says about it being a platform you can rapidly develop on is the full truth. It’s easy to learn and easily configurable.

I’m using the word configurable and not customizable for a reason. Although it does allow you to create custom workspaces and automate to your liking using the scripting environment, you’re still developing within the guardrails of what’s allowed and how Fusion Lifecycle works. Compare this to a 100% custom website or application and you’ll understand what I mean. The sky is not the limit with Fusion Lifecyle, it’s more like a 10,000 foot cruising altitude.

“PLM helps you accelerate your product development processes across all departments and locations by automating workflows, key tasks and delivering timely information. Because Fusion Lifecycle is on the cloud, everyone has access to the data they need anytime, anywhere.”


I want to share a few things I’ve learned along the way that saves time in developing a workspace to incorporate a new process or to make changes to an existing process within Fusion Lifecycle.

Click through the next few pages and I’ll share what I’ve learned.

VN:F [1.9.22_1171]
Rating: 3.7/5 (3 votes cast)

Permanent link to this article: http://cadtoolbox.com/2019/08/09/fusion-lifecycle-development-top-5-tips-tricks/

Summer Side Projects

I’m still alive! It’s summer here in North Carolina and already hot. Like really, really hot. While I don’t mind keeping cool inside working away, staying busy with all things Autodesk. I also don’t mind working outside with my hands, even in the heat. I have been helping a friend out with some sketches of a screened in-porch addition for his house using Inventor.

I don’t get to use Inventor as much as I used to, so when I get an opportunity to keep my skills sharp, I jump on it.

This is a 20′ x 24′ screened in porch. We’re just trying to spit out enough drawings in order to secure the permits and get him a good lumber list to shop with.

This should be an interesting project to see through completion.

Lots of other things going on. I’m going to try and bring a heart beat back to this blog and start posting more regularly again. Until then… thanks for reading!

VN:F [1.9.22_1171]
Rating: 5.0/5 (2 votes cast)

Permanent link to this article: http://cadtoolbox.com/2019/06/25/summer-side-projects/

AU 2018 is underway!

VN:F [1.9.22_1171]
Rating: 4.0/5 (1 vote cast)

Permanent link to this article: http://cadtoolbox.com/2018/11/13/au-2018-is-underway/