A productivity function lets user create an asset with a contribution in one go
About
High priority as this is not easily done using the other functions.
This will provide a basic prototype of the functionality, later on we can have a more powerful function using a custom form that can support multiple role type contributions creation in one go e.g.: create a new track with performance & composition.
The prototype will only create performance records.
Process
Start from asset page: Parent asset
create a new asset Title: new clip
create a new contribution for new clip, asking for the title of the track (hook form alter)
on save update the title of the contribution and the track
on save create a contribution linking new clip to Parent asset, contribution same type as the new clip contribution
To do
"Create Embedded Asset" - part 1
[x] Create a new rule link "New Asset (sub clip)"
[x] Add the action to the Assets action view"
[x] Add a reaction rule "Create Embedded Asset"
[x] "Create Embedded Asset" - Create a new asset, Title: New Embedded Asset
[x] "Create Embedded Asset" - Create a "new contribution" see below
[x] "Create Embedded Asset" - Send to new contribution edit form
"After saving a new Embedded Asset" - part 2
[x] Create a new rule "After saving a new Embedded Asset Contribution"
[x] "After saving a new Embedded Asset Contribution"- Update title of new asset = title of contribution
[x] "After saving a new Embedded Asset Contribution" - Update title of new contribution = title of contribution + right type
[x] "After saving a new Embedded Asset Contribution" - Update title of child contribution = title of contribution + right type
[x] "After saving a new Embedded Asset Contribution" - create contribution record linking to parent see below
[x] "After saving a new Embedded Asset Contribution" - send back to parent asset
Detailed tasks
"Create Embedded Asset" - Create a new contribution see below
[x] Create a contribution record
[x] link it the new asset
[x] Set a session vars for "embedded_asset", "parent_asset" & "embedded_contribution"
"After saving a new Embedded Asset Contribution" - create contribution record linking to parent
Objective
A productivity function lets user create an asset with a contribution in one go
About
High priority as this is not easily done using the other functions. This will provide a basic prototype of the functionality, later on we can have a more powerful function using a custom form that can support multiple role type contributions creation in one go e.g.: create a new track with performance & composition. The prototype will only create performance records.
Process
To do
"Create Embedded Asset" - part 1
"After saving a new Embedded Asset" - part 2
Detailed tasks
"Create Embedded Asset" - Create a new contribution see below
"After saving a new Embedded Asset Contribution" - create contribution record linking to parent