Skip to main content

Notifications

Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Prevent Navigation to form for Lookup

(0) ShareShare
ReportReport
Posted on by

I have several lookups on a form. The customer needs to select from those but if they click it navigates to the form for that particular lookup. How can I prevent that navigation from occurring. Should I be able to do that in javascript? I can not seem to address the div or span tags via jquery and turn off the click event? Is this the correct approach?

*This post is locked for comments

  • Mariano Gomez Profile Picture
    26,225 on at
    RE: Prevent Navigation to form for Lookup

    We've been duped! That's not GP

  • David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,042 Most Valuable Professional on at
    RE: Prevent Navigation to form for Lookup

    That does not look like Dynamics GP.

    Are you sure it is?

  • Community Member Profile Picture
    on at
    RE: Prevent Navigation to form for Lookup

    6406.Lookup.PNG

    Top image - field on form. user clicks and then the page navigates to

    Bottom image - form for corridor entity

    Want to prohibit navigation .

    Happens on browser or client app.

  • Tim Wappat Profile Picture
    5,703 on at
    RE: Prevent Navigation to form for Lookup

    SMKOLL,

    Dynamics GP has two versions of client:

    • HTML5 client, where the application is hosted in a browser
    • Windows application client (a windows application)

    The Windows application has some "webpage" looking aspects to it and the navigation within it, so I think you are unintentionally confusing us as to which one you are talking about. Screenshots help clarify....

    Tim.

  • Suggested answer
    David Musgrave MVP GPUG All Star Legend Moderator Profile Picture
    14,042 Most Valuable Professional on at
    RE: Prevent Navigation to form for Lookup

    If for example, you want to allow access to the Customer Lookup, but not the ability to drill down to Customer Maintenance with the Open button, use the application security to deny access to the Customer Maintenance window.  You can either work with the Security Tasks and Roles, or use GP Power Tools' Deny Based Security.

    If you want to hide the Open button, use Modifier or GP Power Tools' Trigger Setup to hide the button.

    Also don't even attempt to use javascript or anything else to manipulate the HMTL for the web client.  Make the changes at the application and they will be reflected in the web client.

    David

  • Mariano Gomez Profile Picture
    26,225 on at
    RE: Prevent Navigation to form for Lookup

    Again, please don't assume we all know what you are referring to. You need to provide screenshots.

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

Jainam Kothari – Community Spotlight

We are honored to recognize Jainam Kothari as our June 2025 Community…

Congratulations to the May Top 10 Community Leaders!

These are the community rock stars!

Announcing the Engage with the Community forum!

This forum is your space to connect, share, and grow!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Almas Mahfooz Profile Picture

Almas Mahfooz 3 User Group Leader

Featured topics

Product updates

Dynamics 365 release plans