Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics GP (Archived)

VST - Single Select Lists - Remove certain list items

Posted on by 8,515

Has anyone figured out how to manipulate list items in a Single Select List control in Visual Studio Tools?

An example would be removing certain Return Types from the Returns Transaction Entry window.

Thanks

Tim

*This post is locked for comments

  • Tim Foster Profile Picture
    Tim Foster 8,515 on at
    Re: VST - Single Select Lists - Remove certain list items

    What about when the list doesn't have static values - Can VST "catch" the event(s) when the control is being filled with values from a SQL table?  In this case I'm thinking of the Company drop down in the Company Login screen.

    We would like to restrict the companies a user can login or switch to by the client footprint.

    i.e.

    The user has access to company A, B, C and D

    Company A and B should run using the default instance of GP

    Company C and D should be run from a secondary instance (with different customizations than the default instance).

    The user should not login or switch to Comany A or B from the secondary instance.

    The user should not login or switch to Comany C or D from the default instance.

    Maybe I should be using the SDT to accomplish this?

    Thanks

    Tim

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    Re: VST - Single Select Lists - Remove certain list items

    Unfortunately you cannot, your best workaround will be creating your own alternative object and fill the value in the original list in he background.

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans