Auto log in/form launching

ecarmodyecarmody Member Posts: 53
edited 2004-11-04 in Navision Attain
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

Comments

  • SavatageSavatage Member Posts: 7,142
    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 menu
  • PollekePolleke Member Posts: 18
    To "autofill" username and password, you can use Windows verification. This way Navision will use your Windows account to logon.
  • ecarmodyecarmody Member Posts: 53
    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,
    Eric
  • facadefacade Member Posts: 57
    It does not req. active directory.
    It only requires a windows computer :) or 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.
  • ecarmodyecarmody Member Posts: 53
    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,
    Eric
  • ecarmodyecarmody Member Posts: 53
    Ok, sorry all for my bumblings. I forgot to close and reopen the database using Windows authentication. It now works as desired.

    Cheers,
    Eric
  • kinekine Member Posts: 12,562
    and for opening selected window you can use Navision URL for the form...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • ecarmodyecarmody Member Posts: 53
    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,
    Eric
Sign In or Register to comment.