HI all, and for you that are not on summer holiday here is a question
In NAV RTC clients you can send notes to another user by the Notes, or you can via the NAV LOG see the log what has been updated. We are using the windows login via Windows AD and that will provide a username like "DENMARK-CPH \ JEHLE" (domain \ username) at my usernavn
The challenge is in the default RTC 2013 version that we use, we have over 100 concurrent users and when you want to find a particular user, if it was like in all other applications where I'm "only" known as JEHLE, life will be more easyer, for instance in RTC when you want to send a note to another person you should start by entering the domain and then the user name to the right recipient on.
Or when in a list view has a field with username one sees first domain name, and then users, it does not provide a simple overview.
Any tricks ?
0
Comments
We did have the same problem after upgrading to NAV2013.
OK, so, first of all, it is nice that the USERID function returns the "User Name" field in the User table. This give us some control.
However there is some kind of problem with this table. It won't let me change the name. It gives an error message that says "User Name must be equal to DOMAIN\Reinhard.Ruescher in User: xxxxx"
This looks like a strange error message to me. It might be a bug. There already is a "Windows User Name" field for this purpose in the table.
Anyways, the resolution was fairly simple. Write a piece of code that changes the "User Name" (without validating, and bypassing the error message"
This worked. In the Notes, and in the USERID function, it has "just" my name, not the Domain. I am able to log on and haven't noticed any problems yet.
To avoid having to write code all the time to update it, we put in a code OnValidate of the Full Name on the User table.
This way I can manage the User Name through the regular RTC interface.
Let me know if that helps or if you got any additional info on it.
- Reinhard
I am currently working on an NAV2017(Cu5) Upgrade and i am using this solution to avoid the domain.
However when i use the NAS Services it does not work and i still get the Domain.
Has anyone experienced the same situation and has a workaround?
greetings