December 16, 2018, 02:54:29 PM
Welcome, Guest. Please login or register
News: Stay up to date with everything that's happening at http://plus.digitalsignage.com

MediaSignage support forum



Author Topic: Google & Send/Receive Events BUG  (Read 693 times)

StarVue

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +3/-0
    • View Profile
Google & Send/Receive Events BUG
« on: April 04, 2018, 05:29:59 AM »
I believe I have found a BUG in the Google Drive component & It is stopping me from achieving my goal for a client.
Goal is - Google Drive list of image files on the left of screen (File names only), when an item from list is selected, that image is "Loaded" or displayed on the right of the screen. Pretty simple....but it is not working.
Here is the setup:
Make a large full screen scene, and use the Google component to display a "LIST" view of a directory down the entire LEFT 1/3 of screen
This will display only the "NAMES" of the files.
This will be used for selecting the desires item from the list view & sending a "$selectedItem" event to the JSON Viewer in the next step

Add in the "JSON Viewer" in that same scene to the right of the list
Have this receive the "NAMES" event
IF....you make the viewer show the NAME of the file that is selected on the left....all works properly & the selected name on the left shows up. on the right.
Now....If you change that viewer to the OBJECT (Meaning image) instead of the name.....nothing shows up on the right when selected.
However we know it's getting the command, as we can see it work with the file names.
I have tried many different parameters for the send & receive events as well as the Event Provider (id, name, object, image, file, weblink, linkview, and more)
Obviously the file name is referred to as "NAME" or "TITLE" as both of those work when sent & received.
I'm not sure what the "IMAGE FILE" is referred to on the back end of the Google Drive component on your system, that may be the glitch to this.
>>>> Now here is the curious thing that makes me think there is a BUG stopping this.
if you REVERSE all of this & make a LIST of the IMAGES themselves down the left of the screen (Meaning you see all the images in list view)
and then the  Viewer on the Right snows the NAMES or TITLES of the files when selected - it works!!!
so......I need some help on this, Please advise.
     -StarVue

admin

  • Administrator
  • Hero Member
  • *****
  • Posts: 4885
  • Karma: +35/-8
    • View Profile
Re: Google & Send/Receive Events BUG
« Reply #1 on: April 04, 2018, 09:55:24 AM »
Unfortunately, this is not a supported feature of the google drive component as it cannot be compared to eventparams as it is located outside of our cloud

StarVue

  • Jr. Member
  • **
  • Posts: 90
  • Karma: +3/-0
    • View Profile
Re: Google & Send/Receive Events BUG
« Reply #2 on: April 04, 2018, 10:19:16 AM »
Can you answer me this question?
   What is the field path "On your end of the Google Drive API" to the Image file.
As example: when placing a JSON item within the Google Drive component, and we want the Title or File name, we insert "title" or "name" into the Field path.
And that works....
What is the proper "Field Path" for the image or file object from Google Drive?

Please advise, thank you.
    -StarVue

Ron P

  • Newbie
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: Google & Send/Receive Events BUG
« Reply #3 on: April 04, 2018, 12:08:46 PM »
note that it is our cloud server fetching the image so if you are looking for the public url to google drive's file, we do not have said field item on our component.

the field path representing the path to the image on our server is called "id" without the quotes and not File.

best regards

RON P.

 

Carbonate design by Bloc
variant: carbon
SMF 2.0.12 | SMF © 2016, Simple Machines