locked
Can not set app to "Master" because it have a master app id RRS feed

  • Question

  • I'm writing HealthVault Master/Child admin application.

    I was not able to find any such abilities among the standard HealthVault features, thus I need to handle all master/child relations programmatically.
    I'm working with config.healthvault-ppe.com 

    I created an application via https://config.healthvault-ppe.com and made it Master.
    Then I was able to create (almost manually, in test program and in debug mode) 3 child applications.
    I gave these 4 IDs (master and 3 child) to other programmers and they start working with these applications.
    I'd like to keep this original IDs for a while.

    By my mistake I somehow overwrite the master appInfo (I'm still investigating it) and now it shows as "Default".
    I'm unable to make it "Master" because of the error:
    "
    A master application can't have a master app id"

    I was not able to find any public properties related to "master app id". Is it possible to clear-up the application programmatically? 

    Victor Sumskoy
    cocentrix.com


    Thursday, February 14, 2013 10:27 PM

Answers

  • Thank you.

    I am unable to update child app info as well.
    I cannot get public keys for an application.
    I cannot enumerate child applications of a master app.
    I cannot delete child app.
    I cannot get list of "child app settings (rules ceiling)
    I cannot assign an admin of the child apps.

    Maybe there are some low-level methods of doing the above tasks?
    Is there any description on what is the "supported scenarios" for managing master/child apps?

    Thursday, February 28, 2013 7:29 PM

All replies

  • Can you please share your AppID?

    Thanks
    Santhosh

    Monday, February 18, 2013 7:43 PM
  • 7eecb72a-0255-4b10-93d2-98d77a0dd397

    Do you have special tools to explore any individual application?
    Could you share it with us?

    Thank you.

    Victor Sumskoy
    cocentrix.com

    P.S. I know how did I damage my master app.
    To create child app I use master's AppInfo as a default template.
    For child app I made necessary changes to the AppInfo (new Name, Logo, certificate, rules etc.).
    Then I added this corrected appInfo to master app.
    (Everything is fine till this moment).
    Then I saved (updated) this AppInfo by mistake (leftover from previous tests).
    This way the master app became a child of itself without any exception or warning.
    I was not able to find any programmatical way to fix damaged master's appInfo.
    Thus all previously created child apps for the master became ineligible too.

    Thursday, February 21, 2013 4:38 PM
  • Can you take a look in ACC and see if this is what you wanted the app to be set as?
    Friday, February 22, 2013 7:14 PM
  • Yes. But I'd like to do this myself, programmatically. Is there any way I could do it?
    Friday, February 22, 2013 7:41 PM
  • It is not supported at the moment.
    Friday, February 22, 2013 7:59 PM
  • Santhosh,

    Could you please fix it again for app 62e4225f-ad8b-4d7e-8139-693df5000b42 ?

    Thank you,

    Thursday, February 28, 2013 4:56 PM
  • I have fixed 62e4225f-ad8b-4d7e-8139-693df5000b42. However, the Master app updating info about itself is not a supported scenario.

    Thursday, February 28, 2013 6:32 PM
  • Thank you.

    I am unable to update child app info as well.
    I cannot get public keys for an application.
    I cannot enumerate child applications of a master app.
    I cannot delete child app.
    I cannot get list of "child app settings (rules ceiling)
    I cannot assign an admin of the child apps.

    Maybe there are some low-level methods of doing the above tasks?
    Is there any description on what is the "supported scenarios" for managing master/child apps?

    Thursday, February 28, 2013 7:29 PM