Auto log in/form launching

ecarmody
Member Posts: 53
Hi everyone.
Is there a typical/suggested way if I want to be able to launch Navision via a batch, to automatically log in and start up a specific form, aside from the main menu. The main menu can launch as normal, however I want another form to launch, too.
I guess I see the issue of auto-filling/performing the logon as the issue. I don't know how to do that. Once past that, I could code the init event of the main menu form to examine the commandline parameters to determine if/which form to auto launch.
Comments?
Thanks,
Eric
Is there a typical/suggested way if I want to be able to launch Navision via a batch, to automatically log in and start up a specific form, aside from the main menu. The main menu can launch as normal, however I want another form to launch, too.
I guess I see the issue of auto-filling/performing the logon as the issue. I don't know how to do that. Once past that, I could code the init event of the main menu form to examine the commandline parameters to determine if/which form to auto launch.
Comments?
Thanks,
Eric
0
Comments
-
We use something similar.
Our warehouse just needs to see inventory - not g/l, a/p, a/r. etc etc.
so in GL
Goto Setup
Then Users
Then User Setup
Here we enter the login (User Id) for the warehouse.
In the Main Menu ID column - we enter the form ID we want them to launch into on logon.
If it is set to 0 (Zero) the regular menu appears
we set shipping to (in our case) form ID 14000724 - the shipping menu0 -
To "autofill" username and password, you can use Windows verification. This way Navision will use your Windows account to logon.0
-
It appears the Windows Authentication requires Active Directory. We don't yet have active directory fully implemented on our network yet.
If I am wrong about needing AD, then please indicate which steps are to be done. Thank you.
Would there be some other strategies to auto-login ?
Cheers,
Eric0 -
It does not req. active directory.
It only requires a windows computeror a domain
.
It works just better with AD and schema - but it is not a requirement - it works just fine without.
Just fill out windows login users.0 -
Ok, so it doesn't really need active directory; I can type in domain/user.
But what now? It still prompts for user login when I try to run F12 ?
I've gone through the help and have assigned a ROLE to the windows user.
Thanks,
Eric0 -
Ok, sorry all for my bumblings. I forgot to close and reopen the database using Windows authentication. It now works as desired.
Cheers,
Eric0 -
and for opening selected window you can use Navision URL for the form...0
-
Yes, kine ... it works beautify! I discovered that when trying to figure a way to autostart a specific form, without having to code something in the mainmenu or setting to a specific form in the setup table. I'm quite excited about the URL abilities, actually, thanks.
I am having a sticky issue about starting a user function within the form, when the form is URL launched. Please see my next topic post.
Cheers,
Eric0
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