Always allow option to run components in NAV 7

atheocharides
Member Posts: 4
Hello,
I am trying to run System.Windows.Forms.OpenFileDialog component from our code unit and I get a prompt to
that the NAV clinet needs permission to run this component.
The only options I get are
Allow for this Client session
or
Do not allow for this client session.
Is there a way to enforce always allow?
Thank you,
Antonis
I am trying to run System.Windows.Forms.OpenFileDialog component from our code unit and I get a prompt to
that the NAV clinet needs permission to run this component.
The only options I get are
Allow for this Client session
or
Do not allow for this client session.
Is there a way to enforce always allow?
Thank you,
Antonis
0
Comments
-
If this is opening a file from the file system then, did you try with the CommonDialogManagement CU from NAV base?
UploadedFileName := CommonDialogMgt.OpenFile(Text001,'',5,'',0);
FileName := UploadedFileName;
Chn0 -
Hello,
I am indeed trying to open a file from the file system but it seems the CommonDialogManagement CU was removed in NAV 7 beta version and I am using the File Management CU (419) to read and save a file, which throws the prompt for permission.
Thank you,
Antonis0 -
You need to say "always allow". Every user gets this message once.0
-
The only options in the prompt are
Allow for this client session
and
Do not allow for this client session
Thank you,
Antonis0 -
Hello,
did you find a solution for this issue?
best regards
David0 -
i have the same problem... (the missing "always allow") but in a different scenario (I'm opening a PDF for printing via System.Diagnostics.Process)
instead of dubbleposting i should have googled correctly... i found a solution here:
http://www.kauffmann.nl/blog/index.php/ ... component/
wasn't able to test it yet because the issue only appears on our clients' Network0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions