Where are "Resources" stored?

I need to add some "Resources". If I use the 'Create' button and manually add them where are these stored in code base. 

Our Production environment is missing some resources. I want to add them in my dev. environment and the export the XML but I can't find where would the new enteries be stored.


"Resources" comes from mpp_machine item , guessing from the icon, which is poly-source item to mpp_Resource if that helps. 

Thanks! 

Parents
  • Hi Hargul,

    Based on how Poly Items work both Tools and Machines are resources. Generally you can't create a mpp_resource, as it's a Poly Item. When you query mpp_resource you'll get a list of mpp_machines and mpp_tools. If you're looking to create machines or tools, then you can just add those Items as you'd expect and export them normally.

    If you're looking to create a new type of resource, you'd have to create a new ItemType and add it as a Poly Source of mpp_resource. Then you'd export the ItemType itself, and any of your new items you've created.

    AJ

  • Hi   I noticed that in the localRepo I have these "Resources"(shown in VS Code) that do not do show up in UI. Therefore, adding the new "Resources" here will not work. (The ones you currently see in the environment were deployed using the "INSERT" sql statement. ) Why do they not show in the UI?
    Will each "Resource" have a seperate XML file? 

  • Hi Hargul,

    I think there's a miscommunication here. It looks like you're importing a list, and the highlighted items are list-values, not a poly-source of mpp_resource. At least that's what I'm getting from your image. 

  • Sorry for confusion here, I think I got this bit figured out. We also need the "Resources" to show as "Operations" so that xml in the picture is for Operations. Adding entries there results in them showing under "Operations". I am good with this part. 

    But, as for the original issue.  I don't know if I am framing this right. mpp_machine, the item, is labeled as "Resources". I need to make addition to "Resources". You know how Part is an item, now if you wanted to add a new part, how would you go about it? It is the same situation. There are no xml files in the repo showing the individual parts. 

    I could export and import them. But at the end of the day, "import" is also addidng data to the database and not XMLs to a repo (from which environment is constructed), correct?

Reply
  • Sorry for confusion here, I think I got this bit figured out. We also need the "Resources" to show as "Operations" so that xml in the picture is for Operations. Adding entries there results in them showing under "Operations". I am good with this part. 

    But, as for the original issue.  I don't know if I am framing this right. mpp_machine, the item, is labeled as "Resources". I need to make addition to "Resources". You know how Part is an item, now if you wanted to add a new part, how would you go about it? It is the same situation. There are no xml files in the repo showing the individual parts. 

    I could export and import them. But at the end of the day, "import" is also addidng data to the database and not XMLs to a repo (from which environment is constructed), correct?

Children
No Data