Skip navigation
Daniel Jiang
Currently Being Moderated

Any way to add custom data to a channel?

Jul 18, 2012 3:12 AM

Hi,

 

I need to save some customized data to a spot channel, but didn't find out how to do it.

 

I created the spot channel by 'sPSActionControl->Play(&result, eventMake, descNewSpotChannel, plugInDialogSilent)', and I've tried to put string into the descriptor by key 'keyCustomForced' or 'keyCustom', but none of the keys worked.

 

Any suggestion will be greatly appreciated.

 

Thanks a lot!

Daniel

 
Replies
  • Currently Being Moderated
    Jul 18, 2012 4:48 AM   in reply to Daniel Jiang

    First thin that came to my mind, you can add property to document that describe what you want for example documant may have custom property "Channel Black - Modified by user "

     

    After a little thought... have you tried to create descriptor, put string in it using keyText, and the put that descriptor using  PutObject() and  keyCustom?

     

    Does this helps?

    Getter seems

     
    |
    Mark as:
  • Currently Being Moderated
    Jul 25, 2012 12:04 AM   in reply to Daniel Jiang

    Hi,

     

    If just notification is a problem try workaround this way.

    Make scriptable plugin to which you will pass from your plugin data that you want to save with channel.

    Than you save this data in document in a manner that suites you. Now, "listner will be notified"  about so to say subplugin call and will catch all parameters that you have passed to subplugin.

     

    I know that it is not elegant, farr from it but in case that you hit the wall it may be worth trying.

     

    Regards,

    Momir

     
    |
    Mark as:

More Like This

  • Retrieving data ...

Bookmarked By (0)

Answers + Points = Status

  • 10 points awarded for Correct Answers
  • 5 points awarded for Helpful Answers
  • 10,000+ points
  • 1,001-10,000 points
  • 501-1,000 points
  • 5-500 points