Wie ist die genaue Syntax? Mir gelingt es nicht mit einem Feld des Typs "Person" eine Abfrage zu machen.
What product are you using? Workflow (Query User Profile action) or Forms (lookupUserProfile function)?
Can you provide a screenshot?
The function does not return the workEmail.
die Syntax sieht erstmal nicht falsch aus. Kannst du uns bitte sagen, in welchem Zusammenhang bzw. wo du diese Funktion genau nutzen möchtest? Gerne auch mit Screenshot.
Kriegst du denn irgendeine Fehlermeldung zurück oder einfach nur gar nichts? Hast du mal eine andere Property ausprobiert? Wenn dann etwas zurück kommt, liegt es jedenfalls nicht am Mitarbeiter. Ich nehme an du hast auch sichergestellt, dass für den Benutzer überhaupt eine Mail eingetragen ist? Versteh mich nicht falsch, aber man weiß ja nie ...
Eventuell passt auch das Format nicht hundertprozentig. Die Funktion benötigt den Mitarbeiter im Format "domain\login". Soweit ich weiß, müsste das eigentlich bei einem SharePoint-Personenfeld passen. Du kannst dir den Wert aber trotzdem mal zwischendurch ausgeben lassen, um zu sehen ob das Format passt.
the syntax looks right. Can you please tell us in detail where/in which situation you want to use this function. Screenshots are appreciated.
Do you receive any error message? Did you try another property? If another property works, we can be sure the issue isn't caused by the employee (Mitarbeiter). I presume the mail property isn't empty for that user. Don't get me wrong, but you never know...
Maybe the format isn't right. The function requires the employee to be entered like "domain\login". As far as I know, the direct value of the SharePoint-Peoplefield should be working. But you could ensure that by alerting this value.
Vadim Tabakman: Sorry for writing in german, but it seems to be easier for him to understand. I can provide a translation for my text if you want me to.
Hi, Philipp Lucas and Gerhard kapeller! If you could provide that translation, or just use English, that would be helpful as the community is a global one, and if we keep it all in English, then people can search and find answers to questions such as this in one language. Nothing against German -- although I failed miserably at trying to learn it during my school days - darn that word order! :-) -- but it's helpful to the wider community if we keep things in English.
Your community manager
I provided a translation.
You have my deepest sympathy for that horrible school experience
Ha! I was just a lousy student in languages. I finally copped out and two my required two years of world language in Latin. In college, I took enough Spanish to meet requirements. And now I can order beers and find the bathroom and get into trouble in Mexico.
The Problem has been solved. / Das Problem ist gelöst. Die Abfrage mit Funktion "Benutzerprofilnachschlagen" klappt
Hi, Gerhard kapeller, Are you able to select a "correct answer" from the thread? If so, it's helpful to other community members seeking answers to questions like yours. Thanks!
I have the same problem. I Think it is an issue to the german version of Nintex. I try to get the name of the current User in a Nintex Form, but it won't work:
I use a formula with this syntax:
BenutzerprofilNachschlagen(Aktueller Benutzer, "LastName")
UserName ist: i:0#.w|adler-int\adzxxxxx
But I only get: #Value!
So possibly "LastName" is wrong?
I don't know German so I'm not able to fully understand previous answers from gkapeller but, if I understand correctly, it suggest that the function should be
could you try replacing that character and see if it works?
Thank you for your answer. I tried it both ways but I still get #Value!
I picked it from the "menu". So it is ridden with a capital letter N:
I think it is a problem with the attributes. All english values like "PreferredName", "LastName", don't work with my version of Nintex and I tried it with the german values too.
Hi Oliver...I'm sorry that this change hasn't solved your issue...I hoped it was something like that looking at answer from gkapeller where he says the issue is solved..
Looking at attributes, these are the internal name of the user profile properties on your SharePoint Environment..could you check if these are the correct values? They should be because they are always in English, for my experience, and just the labels are translated, but this shouldn't affect anything..
I tried a few internal Names from the official list - but still #Value!
Is it possible that SP Foundation 2013 don't have this feature? Maybe something is wrong with the "CurrentUser". It have the Format: i:0#.w|adler-int\adzxxxxx
Retrieving data ...