Logged in Person presentation
(Adding message template to the top of the page)
(Replacing message template with parser tag)
 
Line 1: Line 1:
{{message|Write the content here to display this box}}
<message>Write the content here to display this box</message>
The Main menu shows the logged-in user’s username (SysUser). This has now been extended so that you can show other information for the user by setting the DefaultStringRepresentation of the SysUser in the model.
The Main menu shows the logged-in user’s username (SysUser). This has now been extended so that you can show other information for the user by setting the DefaultStringRepresentation of the SysUser in the model.



Latest revision as of 07:44, 17 June 2024

The Main menu shows the logged-in user’s username (SysUser). This has now been extended so that you can show other information for the user by setting the DefaultStringRepresentation of the SysUser in the model.

If you have this:

if self.Person->isempty then
  self.UserName
else
  self.Person.FirstName+' '+self.Person.LastName+
  if self.Person.House->isempty then
    ''
  else
    ' i hus '+self.Person.House.Name
  endif
endif

You get this:

2018-09-18 22h57 14.png
This page was edited 103 days ago on 06/17/2024. What links here