Skip to content

SG-43456 [Phases 1-2] Enable FlowAM integration#137

Open
carlos-villavicencio-adsk wants to merge 14 commits into
masterfrom
ticket/SG-43456_migration_1
Open

SG-43456 [Phases 1-2] Enable FlowAM integration#137
carlos-villavicencio-adsk wants to merge 14 commits into
masterfrom
ticket/SG-43456_migration_1

Conversation

@carlos-villavicencio-adsk

@carlos-villavicencio-adsk carlos-villavicencio-adsk commented May 22, 2026

Copy link
Copy Markdown
Contributor

Base branch for tk-multi-loader2 v2.0.0

Approved Contents

ℹ️ This should not affect or break the loader functionality.

Dependencies

Config Requirements

  actions_mappins:
    Alembic Cache: [reference, import]
    Image: [texture_node, image_plane]
    Maya Scene: [reference, import]
    Photoshop Image: [texture_node, image_plane]
    Rendered Image: [texture_node, image_plane]
    Texture: [texture_node, image_plane]
    # MEDM specific mappings
    All: [reference_copy_link, download]
    Maya Workfile: [reference_am, open, discard_draft]
    Alembic: [reference_am]
    Template: [open]
  • env/includes/houdini/apps.yml (basic)
  • env/includes/settings/tk-multi-loader2.yml (default2/advanced)
  action_mappings:
      Alembic Cache: [import]
      Image: []
      Photoshop Image: [file_cop]
      Rendered Image: [file_cop]
      Texture: [file_cop]
      # MEDM specific mappings
      All: [reference_copy_link]
      Houdini Workfile: [open, discard_draft]
  • env/includes/nuke/apps.yml (basic)
  • env/includes/settings/tk-multi-loader2.yml (default2/advanced)
  action_mappings:
    Alembic Cache: []
    Flame Render: [ create_read_node] # create_read_node is an MEDM action
    Flame Quicktime: [ create_read_node]
    Image: [ create_read_node]
    Movie: [ create_read_node]
    NukeStudio Project: [open_project]
    Photoshop Image: [ create_read_node]
    Rendered Image: [ create_read_node]
    Texture: [ create_read_node]
    # MEDM specific mappings
    All: [reference_copy_link]
    Nuke Workfile: [open,  discard_draft]
    Generic Workfile: [reference_copy_link, create_read_node]
    File Sequence: [reference_copy_link, create_read_node]
    Template: [open]

TODO

@codecov

This comment was marked as off-topic.

@carlos-villavicencio-adsk carlos-villavicencio-adsk changed the title SG-43456 Add MEDM abstractions and utilities SG-43456 [Part1] Add MEDM abstractions and utilities May 26, 2026

@chenm1adsk chenm1adsk left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left some small comments and other looks good to me.

Comment thread python/tk_multi_loader/flowam/publishhistory_model.py
Comment thread python/tk_multi_loader/medm/publishhistory_model.py Outdated
Comment thread python/tk_multi_loader/flowam/thumbnail_service.py
* Migration of the MEDM resources

* Migration of MEDM core logic

* Fix thumbnail display on version history

* Tentative wrap-up

* Format

* Fix CI: add missing fw

* Update Azure pipelines additional_repositories

* Revert framework additions for CI

* Comment framework for CI

* Test CI green

* Add remaining types

* Fix types

* Code review feedback

* Move  `DRAFT_VERSION_IDENTIFIER`  to constants

* SG-43458 [Part3] Config Hooks (#139)

* Migrate config hooks

* Add type annotations

* Wrap `get_am_base_obj` into the loader action manager

* Wraps constant

* SG-43460 [Part4] Build dialogs and template utils (#140)

* Migrate `BuildAssetDialog` and `BuildTemplateDialog` classes

* Migrate template helpers

* Code review feedback

* Update setting name

* Change MEDM to FlowAM in comments

* Replace MEDM in log messages

* SG-43626 Fix bug when details panel collapses/expands (#142)

* Fix bug when details panel collapses/expands

* SG-43627 Fix empty space gap on the details panel (#143)
@carlos-villavicencio-adsk carlos-villavicencio-adsk changed the title SG-43456 [Part1] Add MEDM abstractions and utilities SG-43456 [Base] Migrate FlowAM Jun 10, 2026
* Remove framework dependency from dialogs classes

* Migrate build asset/template workflows

* Remove more references

* Use sandbox functions

* Update references on models

* Migrate thumbnail utilities

* Use more sandbox functions

* Finish migrating framework-floam references

* Update references from sgtk.flowam.create

* Remove framework loading

* Rename fucntion to get FlowAMActions instance

* Rename `am_base_obj` to `flowam_actions`

* Latest Updates

* Finish clean-up

* Update imports

* Tested reference link and download workflows

* Finished testing build scene, open, reference, discard.

* Tested create template workflow

* Add tk_core_ref value for testing

* Format

* Fix fixture

* remove migrated methods

* Rename `medm` directory to `flowam`

* Removed `enable_flowam` setting

* Get rid of `FlowAMActions` dependency injection and use app level module

* Update core new definitions

* Fix format

* Handle error

* Remove dead code

* Update references, rename variables

* Fix discard draft logic

* Format

* Update reference sequence

* Improved `CreateReferenceError`

* CR fixes

* Fix method signature

* Import flowam module just to be safe
@carlos-villavicencio-adsk carlos-villavicencio-adsk changed the title SG-43456 [Base] Migrate FlowAM SG-43456 Enable FlowAM integration Jun 22, 2026
…_mode support (#147)

Replace direct app lookup + non-existent _set_context() call with the established engine command callback pattern. Grab the publisher app from the matched command's properties to call show_dialog() directly, passing single_file_mode=True when the action is a Flow AM republish ("publish"), so the dialog restricts users to dropping or browsing a single file.
@carlos-villavicencio-adsk carlos-villavicencio-adsk changed the title SG-43456 Enable FlowAM integration SG-43456 [Phases 1-2] Enable FlowAM integration Jun 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants