Skip to main content

Notifications

Microsoft Dynamics AX (Archived)

Show user created tickets only on his screen not other users ticket

Posted on by 205

Hello experts,

I have one customize form which name is 'Helpdesk Management System". Here, user come and create ticket regarding his problem. I need to show his created ticket on his overview screen not other user tickets.

Can you please suggest me how to resolve this problem.

*This post is locked for comments

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Show user created tickets only on his screen not other users ticket

    So, means to say that i need to write code under the data source  in execute query method.

    (created by = cur userId())

  • Verified answer
    axk Profile Picture
    axk 925 on at
    RE: Show user created tickets only on his screen not other users ticket

    If you want to achieve it, you have to customize it.

    General ledger checkbox works the same way I described above. After checking it, it sets range on createdBy field to curUserId(). After unchecking, it clears this range.

  • DEEPAKNONU Profile Picture
    DEEPAKNONU 205 on at
    RE: Show user created tickets only on his screen not other users ticket

    Thanks a-kow  for your quick response

    but I need to do like in general ledger there is one field "show user created only" I need

    to do like this any customization.

  • Suggested answer
    axk Profile Picture
    axk 925 on at
    RE: Show user created tickets only on his screen not other users ticket

    Hey Deepaknonu,

    You can add range when executing datasource's query (createdBy = curUserId()) and prevent user from modifing it or if you are using security policies, you can limit access there.

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,253 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,188 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans