4

I understand one of the ideas behind External Activities for workflow in SDL Tridion 2013 was to allow the same approach to CM-side development.

This includes:

  • Visual Studio IDE for development
  • Debugging
  • Same TCMUpload to place the code on the CMS

Are TCM urls also managed? For example, does it matter if we reference something like this:

AssemblyTbbId = "tcm:5-555-2048"

Or should we use WebDAV urls? In other words, is it safe to content port External Activities?

And do External Activities have others things in common with TBBs worth knowing?

  • 1
    Some thing the external activity does not have in common with TBB is that the external activity only gets access to CM though a core service clIent. There is not a full Tom API available. – Jan H Oct 31 '13 at 5:53
7

Yes, you can use WebDAV URLs and probably should if porting process definitions between environments is important to you (i.e. the TCM IDs of your Template Building Blocks could change).

You reference them in an external activity "script" as:

AssemblyTbbId = "/webdav/200%20Website/Building%20Blocks/Path/To/Your/Assembly.tbbasm"
Type = "YourNameSpace.YourClassName"

See Rob Stevenson-Leggett's Gist and associated blog post for a more comprehensive example.

| improve this answer | |
  • 1
    To add to this, tcm uris are only managed in Dreamweaver templates and probably some other plain text tabs. external activities are uploaded like a C# TBB and uris in C# TBBs are not managed either. – Jan H Oct 31 '13 at 5:51
  • Thanks Jan. I didn't /think/ they were managed but didn't want to write as such until I'd had a chance to test – David Forster Oct 31 '13 at 9:09

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.