Menu

Creating location based display

mhmn
2018-08-15
2018-08-28
  • mhmn

    mhmn - 2018-08-15

    Hi,
    If I want to display drop down of location list after selecting current organization from drop down at the left-pane, do I need to edit php file or enough with xml only? And which file shoud I edit?

     
  • Jeffrey Bostoen

    Jeffrey Bostoen - 2018-08-15

    My bad, this answer is for the right panel, not the left.

    XML should be enough I think. The question is where you want to apply this.

    Also, you shouldn't edit but add files (create your extension to overwrite the default data model). Changes get lost in upgrades; extensions don't.

     

    Last edit: Jeffrey Bostoen 2018-08-28
    • mhmn

      mhmn - 2018-08-23

      Hi Jeffrey,
      The idea is same like when we select Organization from drop down at the top left-pane, the item in page will display per organization.
      What I want to do is display items per location. When user select certain location from drop down, the page will display all items based on that location.
      Or do you have any idea how I can achieve this?

       

      Last edit: mhmn 2018-08-23
  • mhmn

    mhmn - 2018-08-26

    Maybe I can reword my question.
    1) How to create drop down (select) in the top left pane (under organiztion drop down)?
    2) When I select organization from drop down list in the top left pane, the Location that attached to the organization will be listed in the drop down (in #1).
    3) When I select location from the drop down, the itop page will display item that attached to that location only.
    Do I need to edit xml only (new extension), or php file or both. Which xml/php file should I refer/edit?
    Thank you for the help.

     
  • Pierre Goiffon

    Pierre Goiffon - 2018-08-28

    Hello Harith, this looks exactly as the question you asked in another thread which have an ongoing discussion. Please don't create multiple threads for the same question as it makes our forum quite messy, and mainly will discourage people to take part in your threads !

     
    • mhmn

      mhmn - 2018-08-28

      I'm sorry, my bad. I will continue the discussion in the other one thread.

       

Log in to post a comment.

MongoDB Logo MongoDB