web
You’re offline. This is a read only version of the page.
close
Skip to main content
Community site session details

Community site session details

Session Id :
Microsoft Dynamics GP (Archived)

Smartlist Builder Security

(0) ShareShare
ReportReport
Posted on by 140

Hello GP World :-),

I have a question for anyone who may be able to answer. I just recently built a Smartlist using a view. MVP Victoria Yudin was very helpful in sending an article she wrote on creating Smartlists using views. I ended up using a view I created and followed the steps for granting the users security to the view. However, only the 'sa' user could see the data in the Smartlist. After doing everything I could think of to make the Smartlist visible, I finally had to go into SQL and grant the user permissions to manipulate/control the view. This worked.

Does anyone know how I might have avoided using SQL to grant permissions? How/why didn't GP security work? In GP, I gave everyone security to "View & Create Smartlists using SQL Tables" to no avail. :-)

 

*This post is locked for comments

I have the same question (0)
  • Victoria Yudin Profile Picture
    22,768 on at
    Re: Re: Re: Smartlist Builder Security

    Yvette,

    To see an example of what is needed take a look at any of the views I have posted on my blog, they are all listed here under the GP SQL Scripts section: http://victoriayudin.com/gp-reports/.

    Every single view I post has a line at the bottom granting permissions to the view to DYNGRP, just follow the same syntax for your views. 

  • Yvette Butler Profile Picture
    140 on at
    Re: Re: Smartlist Builder Security

    Great! Thanks guys! I just thought I was missing something. All the documentation I read only tells the reader to update GP security after building the Smartlist using a View. None of the documentation tells you that users need to be granted access in SQL. I figured that part out on my own.

    Thanks. Now you've confirmed this for me. It doesn't look like I did anything wrong in GP security. :-)

  • Sagi88 Profile Picture
    2,250 on at
    Re: Smartlist Builder Security

    Hi Yvette.

    Usually once the view is created in the companny database you need to execute the Grant.sql script on the database.

    This will give access to anyone who belongs to the DYNGRP.

    You will find the script in the GP Folder, SQL\Util subfolder on the server where GP was installed.

    Hope this helps

  • Mariano Gomez Profile Picture
    26,225 on at
    Re: Smartlist Builder Security

    You cannot avoid SQL to grant access to the view, but I might add, you don't need to grant access to each user, rather to the DYNGRP role.

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Mansi Soni – Community Spotlight

We are honored to recognize Mansi Soni as our August 2025 Community…

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics GP (Archived)

#1
Community Member Profile Picture

Community Member 2

#1
babubaskaran@outlook.com Profile Picture

babubaskaran@outloo... 2

#1
Yng Lih Profile Picture

Yng Lih 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans