Clarity

  • 1.  Move specific attributes through XOG

    Posted Oct 09, 2015 09:55 AM

    Hi all,

     

    We've created a few attributes for the Project and Task object.  Is there a way to move only the newly created attributes via XOG to the new environment?

    This is probably impossible, is there a way to set up section/view through XOG or SOAPUI?

     

    Thanks,

     

    Tai



  • 2.  Re: Move specific attributes through XOG

    Posted Oct 09, 2015 10:23 AM

    You can try doing this using the Content Packages

     

    NJ



  • 3.  Re: Move specific attributes through XOG

    Posted Oct 09, 2015 10:46 AM

    NJ,

     

    Thanks for the reply.  Can you elaborate a little bit more?

     

    <?xml version="1.0" encoding="UTF-8"?>

    <NikuDataBus xsi:noNamespaceSchemaLocation="../xsd/nikuxog_contentPackage.xsd" xmlns:xsi=""><Header externalSource="NIKU" objectType="contentPackage" action="read" version="14.1"> </Header><Query><Filter criteria="EQUALS" name="package_name">Zydica Controller</Filter></Query></NikuDataBus>

     

    Where do the attributes ID or Name goes?

     

    Thanks,



    Tai



  • 4.  Re: Move specific attributes through XOG
    Best Answer

    Posted Oct 09, 2015 11:10 AM

    I didn't mean the XML

     

    Check this -

     

    How to Develop Your Own Studio Content Packages

    http://cookbooks.ca.com/cacppm/2014/10/23/how-to-develop-your-own-studio-content-packages/

     

    NJ



  • 5.  Re: Move specific attributes through XOG

    Posted Oct 09, 2015 01:58 PM

    You can filter down to Object and Views in a content pack XOG or content package, but there's not an option available for adding Attributes alone.

     

    So when you XOG the Object it will bring across all of the attributes (barring some stock attributes for stock objects, which can exclude themselves), including new and old.

     

    Edit: Unless... after adding the object to the content package, you then use the Hierarchy page to drill down into the Object and then exclude any attributes you don't want to include.  That is covered in the article link.  Sorry, I spoke to soon this time.



  • 6.  Re: Move specific attributes through XOG

    Posted Oct 10, 2015 02:28 AM

    Thanks, Nick

     

    Have a nice weekend

     

     

    Regards

    NJ



  • 7.  Re: Move specific attributes through XOG

    Posted Oct 12, 2015 04:41 PM

    Yes but it's cumbersome... you have to add the entire object and then "de-select" what you DON'T want.

     

    I just opened a new Idea on this very topic! (Content Package - Attributes Only)



  • 8.  Re: Move specific attributes through XOG

    Posted Oct 12, 2015 04:50 PM

    Thank you all for your inputs.

     

    Tai