Menu

All ticket of organization for users of organization in portal user

2023-05-19
2023-07-20
  • Hermes Sabastizabal

    Hi.

    I’m trying to change the behavior of the standard user portal so that it displays both personal incidents and those related to the organization, with the impact being a department or a service.

    To achieve this, you have added the following scope to the ticket class.

                                               <scopes>
    
                                                               <scope id="all-departamento" _delta="define">
    
                                                                               <oql_view><![CDATA[
    
                                                                                              SELECT UserRequest AS U WHERE  U.org_id = :current_contact->org_id AND U.impact IN (1,2)]]>
    
                                                                               </oql_view>
    
                                                               <!-- no oql_edit tag mean no write access for this scope -->
    
                                                               </scope>
    
                                               </scopes>
    

    After this, the estándar portal don’t work.

    Can you helpme?

    Thanks in advande.

     
  • Pierre Goiffon

    Pierre Goiffon - 2023-07-20

    Hello,
    I think having the indentation inside the CDATA section can cause issues ?
    You can check the compiled file (env-production/core/module_designs/itop-portal.xml) on a test env and try to modify it

     

Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.