Hot answers tagged

11

Enable Workflow Process Associations in Shared Schemas and Structure Groups lets us use Workflow Process definitions defined higher in the BluePrint in the current publication. Without this checked in Publication Settings, only schemas set to local Workflow Process definitions are available. We only need to check this in the Publication that contains the (...


10

Yes, you certainly can use bundles for Content Porter Export... unfortunately, the current version of Content Porter will export the items from the same publication that you're exporting the bundle from... so not extremely useful. As from 2013 SP1 (coming out soon) you'll be able to tell Content Porter to export the items in a bundle from their Parent (or ...


10

Chris, I think.. To make it a Bundle you need to change TypeSchema to be a Bundle Schema and set another Configuration XML: var bundle = (VirtualFolderData) client.GetDefaultData(ItemType.VirtualFolder, "tcm:2-3-2", new ReadOptions()); bundle.Configuration = "<Bundle xmlns=\"http://www.sdltridion.com/ContentManager/Bundle\"><Items /></Bundle&...


8

please stop using WhereUsed for everything, it's quite heavy list and it affects performance a lot. There's a special filter to show bundles that contain the current item: ContainingBundlesFilterData. string componentId = "tcm:5-4081"; CoreServiceClient channel = new CoreServiceClient(); ContainingBundlesFilterData filter = new ContainingBundlesFilterData(...


8

It's a pity - but really this method is not implemented. I advice you to use something next : StartWorkflowInstruction instruction = new StartWorkflowInstruction(session); instruction.Subjects.Add(bundle); ProcessInstance result = bundle.ContextRepository.StartWorkflow(instruction); Note, that in StartWorkFlowInstruction you can specify additional ...


7

Tridion 2013 does have a specific bundle management right (per publication, just like the other rights such as page management, component management etc.) However, I don't think that will help you. Bundles are a type of virtual folder (similar to a search folder) and the items contained within them are regular Tridion items with a location elsewhere in the ...


7

The problem is that you are setting Bundle schema as BundleType schema. Read this to understand it better. Basically you need to determine your "true" bundle type schema and set bundle schema you are setting as MetadataSchema


7

The following link explains what setting a Bundle Schema means in this context: http://docs.sdl.com/LiveContent/content/en-US/SDL%20Web-v1/GUID-137CDE2E-4357-4D2F-B804-C5774AA67828


6

This source code, will give you the list of bundles string componentId = "tcm:5-4081"; CoreServiceClient channel = new CoreServiceClient(); UsingItemsFilterData filter = new UsingItemsFilterData(); filter.ItemTypes = new ItemType[] { ItemType.VirtualFolder }; XElement xBundles = channel.GetListXml(componentId, filter);


5

As of Tridion 2013 SP1 minimal approval status will be applied to all items, no matter if they are in workflow or not. Keep in mind that it will not be applied to items without any approval status at all (unassigned). In previous versions, approval status will only be applied to items in workflow. So pre 2013 SP1: Approval Status ignored Approval Status ...


5

Single-item workflow though is the old style approach and might be termed legacy, however, is not part of legacy pack. It is a kernel feature. What is part of legacy pack in the VBScript type of automated activity script. That being said, I would still be not in favor of using a single-item workflow. A combination of permissions and event system might be a ...


5

Bundles can be localized. However as you have mentioned in your question, items inside the bundle are not localized. A common issue when you have Bundles/Items in a high level publication (Shared) is that if you start a bundle workflow (let's say in the not localized version) then all the items will be locked, that means that you won't be able to start a ...


5

Bundles, folders, structure groups, categories, keywords, search pages, and pages all work the same way: When the user add an item to a job, it stores a reference to that item only. The tab is called "Added items" in an attempt to make it clear that this is not the actual translation item, just the one you added to the job. I am not sure how successful the ...


4

This is a valid enhancement request. Approval Statuses are not handled like Metadata here. Their behavior is the same with a single item workflow as they are now with multi-item bundle workflow.


4

In order to publish a minor version (your item is not in reserved state anymore since it is already locked by a workflow) you should meet the following requirements. Your item (bundle) has reached at least the minimal approval status configured in the publication target you are using. You have set up IncludeWorkflow flag to true. Publishing operations are ...


4

I had a similar problem when creating bundles with the core service. Here is my working code: String typeSchemaId = client.GetList("tcm:0-0-7", new OrganizationalItemItemsFilterData()).Single(s => s.Title == "Bundle").Id; String imageworkflowschema = "tcm:4-9170-8"; VirtualFolderData bundle = (VirtualFolderData)client.GetDefaultData(Tridion....


4

For 1, you can open it in Visio. It's just a regular process definition. By the way, there's an automated activity in there that you haven't worked out yet ;) For 2, You can do it, but I'm not convinced that it makes sense for use with a bundle or single item workflow, as there's no real end result (i.e. no approval status change, no publishing etc.). ...


4

You could do this by performing an Advanced Search on the parent Folder, and then adding all of the results to your bundle. If you just want Components, and not sub-Folders, then you can filter these out using the Types Advanced Search option to just return Components. The setting that you probably want are: Searching term: * Also search in sub-sections: ...


4

Use the TOM.NET API to make certain Workflow-related events in Content Manager trigger a piece of custom code you write. You can subscribe to a number of moments before, during and after a specific event. Events related to Workflow are in the Tridion.ContentManager.Extensibility.Events namespace. Refer to the following existing questions for more ...


4

While publishing through Workflow Activities you need to consider the following in order to publish the "Editable" version The Item must have the same Approval Status as the Publication Target selected for publishing Ensure the Activity has the same Approval Status as the Publication Target and make sure you finish the Activity before you publish (Finishing ...


4

You can use ContainingBundlesFilterData and use following code to get bundles to which particular item is part of: ContainingBundlesFilterData filter = new ContainingBundlesFilterData(); var bundles = _CoreServiceClient.GetList(<ItemId>, filter);


4

FOUND IT. Eventually I realised that it wasn't the schema I wanted to attribute to the Bundle - but the schema I want to base the Bundle on (hence the Virtual Folder Reference!) Adding the following script did just the job (note that this method is better than simply getting the ID and plugging it in for transportability of the scripts in other ...


4

function createBundle($config, $metadataXmlContent, $title, $locationPubId, $locationFolderId, $metadataSchemaId){ $bundle = $null; $bundleNameSpace = "http://www.sdltridion.com/ContentManager/Bundle"; [SchemaData]$schema = $core.GetVirtualFolderTypeSchema($bundleNameSpace); $bundleSchemaId = $schema.Id; if ([string]::IsNullOrEmpty($...


4

The Tridion authorization model is based on users and groups with control over: Group Membership Scope for Publication visibility Rights for the ability to use certain commands (e.g. create Components) Privileges for system-wide abilities Permissions (read, write, delete, localize) for control over items for a given Organizational Item (Folder, Structure ...


3

Try this: StartWorkflowInstructionData startWorkflowInstruction = new StartWorkflowInstructionData(); startWorkflowInstruction.Assignee = new LinkToTrusteeData { IdRef = client.GetCurrentUser().Id }; startWorkflowInstruction.ActivityTitle = "A title for the activity"; startWorkflowInstruction.ProcessInstanceTitle = "A title for the process instance"; ...


3

Yes, you can add items to bundle if it's allowed by your current activity definition. In Visio Workflow designer, when creating a process definition you can define behavior for each of the activities. Bundle which is in workflow is already locked, unless other is specified in activity definition.


3

Yes, you can definitely use Bundle workflows for this. You can basically add any workflow-able item (Pages, Components) to a bundle, then start a workflow process on it. However, you should think about Bundle workflow differently from the old-school workflow. You state: On change of those also i want to trigger Product workflow. Bundle workflow is ...


3

I imagine you will find it with a UsingItems filter


3

Thanks for everyone commented, and tried to help to resolve my issue, Finally the issue was resolved by help from SDL Support, and here are the steps taken to resolve the issue: 1. In Tridion\bin\TcmServiceHost.exe.config - Change the CoreService_netTcpBinding binding <binding name="CoreService_netTcpBinding" transactionFlow="true" transactionProtocol="...


3

You've set the Metadata schema, but not the Metadata itself. If metadata schema is set you should always set the metadata as well, even if schema has no mandatory fields. It should at least contain the namespace, of the metadata schema.


Only top voted, non community-wiki answers of a minimum length are eligible