Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Porting Auto-Gen Music Templates to Existing System
#1
I really like the auto-generated music templates and the functionality they provide, and I'm trying to merge them into my system. I'm on 4.8.3.

I can get them to work as contemplated when I load the "Main" template (in User\CQC_AutoGen\1280x800\Room\Main), which in turn loads Overlay_Main, then Overlay_Main_Left, then Overlay_Main_Tiles where the Music tile is--and all is good.

But when I put a command button with the action to load the AG "Main" template on my master template, I get the tiles properly loaded, but when I press the "Music" bar in the Music tile to load the "Overlay_MusicBrowse," I get this message: "An asynchronous callback failed. Callback id=ScrollOverlay," with the details that "The target must be an overlay widget."

The auto-generated Action for the Music command button in the Music tile is:

// The auto-gen will enable and update this to invoke an action if configured
-System:Big GrinoGlobalAct
P1=\\User\\Dummy
P2=

// And now load our overlay and scroll over to view it
IntfViewer::LoadSiblingOverlay
P1=..\..\ContentOverlay
P2=.\\Overlay_MusicBrowse

IntfViewer::ScrollParent
P1=Left
P2=GrandParent

I have read everything I can find on the LoadSiblingOverlay and it seems that loading the "Main" AG template from a command button has disturbed the "relative path" that the action uses to find the target. Based on the development guide description of the LoadSiblingOverlay, I have tried every combination of "double dots" and slashes to get to the target. I have also tried non-"relative path" alternatives. Nothing seems to work and when I vary the paths (relative or not), I usually get "the container path did not resolve to a legal target container."

Oddly enough, when I change the command button on my main template to load the AG "Overlay_Main" template (instead of the AG "Main" template), the CAB browsing loads and scrolls but the upper part of the screen with the content overlay does not scroll back to the tiles.

Thoughts on how to replicate the functionality of the auto-generated music templates in an existing template?

Thanks!
Reply


Messages In This Thread
Porting Auto-Gen Music Templates to Existing System - by TurboSam - 08-30-2016, 03:18 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  System::Pause gReatAutomation 1 529 09-03-2020, 03:05 PM
Last Post: Dean Roddey
  How to size Interface Viewer WebRIVA templates gReatAutomation 5 1,619 12-24-2019, 05:29 PM
Last Post: Dean Roddey
  GE Heavy Duty 40 Amp Outdoor Switch (14285) / Misting System gReatAutomation 0 846 06-11-2019, 04:44 PM
Last Post: gReatAutomation
  Google Play Music integration sic0048 1 1,115 12-25-2018, 11:52 AM
Last Post: batwater
  Adding custom tiles/overlays to the auto-gen system Dean Roddey 1 1,676 07-20-2018, 08:14 PM
Last Post: Dean Roddey
  System Config tom 35 13,623 01-12-2018, 09:02 AM
Last Post: Dean Roddey
  New HVAC System - Nest? dgage 5 4,253 05-24-2017, 11:15 AM
Last Post: dgage
  Keep system from sleeping George M 8 6,493 01-20-2017, 06:37 PM
Last Post: wuench
  Auto Gen / Room config potts.mike 3 3,131 12-28-2016, 06:51 PM
Last Post: Dean Roddey
  List Based Music Browsing jrlewis 36 12,585 06-29-2016, 05:18 PM
Last Post: kblagron

Forum Jump:


Users browsing this thread: 1 Guest(s)