Uploaded image for project: 'Alfresco'
  1. Alfresco
  2. ALF-22097

T Engine - add source nodeId parameter

    Details

    • Type: Improvement
    • Status: Closed (View Workflow)
    • Priority: Unprioritized
    • Resolution: Fixed
    • Affects Version/s: Community Edition Next, Community Edition 201901 GA
    • Fix Version/s: ACS 201910-EA
    • Component/s: Repository
    • Security Level: external (External user)
    • Triage:
      To Do
    • Resolution Time Custom Field:
      2 days, 20 hours, 33 minutes, 55 seconds

      Description

      It would help to have the source nodeId in the "always supplied" parameters for a T Engine transform call. While basing transformations only on content is logical but some transformations might need extra metadata of the source, imagine building a templating engine where some metadata would end up in the specific "template document" transformation.

       

      I cna think of two possibilities, either provide the nodeId to T-Engines, so the custom engine could use it and call back the REPO for extra information, either allow some kind of dynamic transformation options that a RenditionDefinition2 might invoke before checking the transformation option but that is not a good option. I would go with the first approach.

       

      So what is needed, to have a way to get source node informations (not just mimetype) on the T Engine side.

       

      org.alfresco.repo.content.transform.LocalTransformImpl.transformImp 

       

      add

      args[i++] = "sourceNodeId";
      args[i++] = sourceNodeRef.getId();

        Attachments

          Issue Links

            Structure

              Activity

                People

                • Assignee:
                  closedissues Closed Issues
                  Reporter:
                  dgradecak2 Daniel Gradecak
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  2 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved:
                    Date of First Response:

                    Structure Helper Panel