Search
-
Re: "String" and "Display" DataTypes Automatically Refresh from Related "UserPicker" object
Of note I discovered this causes a number of errors to appear on the webconsole.log. 2017-06-06 08:08:55,819, ERROR [ 153]: An error occured while featching user info...System.Data.SqlClient.SqlException (0x80131904): Procedure or function 'spGet_UserById' expects parameter '@Id', which was not supplied. at… -
Re: "String" and "Display" DataTypes Automatically Refresh from Related "UserPicker" object
Hi Guys, I just wanted to share some code with you based on what Tom supplied earlier, it uses some of John Doyles code. I have created the below fields within in my incident.js form { DataType: "String", PropertyDisplayName: "Business Phone", PropertyName: "RequestedWorkItem.BusinessPhone", Disabled: true }, { DataType:… -
"String" and "Display" DataTypes Automatically Refresh from Related "UserPicker" object
We have a scenario where we want to display 5+ related fields about a user, immediately after selecting/changing the "Affected User". Info such as their contact number, mobile number, location, title and notes field (the Notes field is where we specify if they are a VIP). We understand this can be partially achieved with… -
Re: "String" and "Display" DataTypes Automatically Refresh from Related "UserPicker" object
No problem, I'm going to try and use DataType: "Display" instead of "String" and see how that looks. I'm also going to try and adapt my code into your example above. I also have extended my User class to include a Boolean variable called "isVIP" and if this set to TRUE for a user, I would like to set this in the form… -
Re: "String" and "Display" DataTypes Automatically Refresh from Related "UserPicker" object
You can do simple CSS styling to the extra props such as make it red and bold with the following. Use this CSS override in the custom.css file to change the ExtraProps label style. .help-block { color:red; font-weight:bold; } Alternatively, you can add any field from the User object into the Work Item form using the normal… -
Re: "String" and "Display" DataTypes Automatically Refresh from Related "UserPicker" object
Yes @Amarjit_Dhillon, this does help get the ball rolling. I am a manager, not a developer, so I do not always have time (and more importantly, resources) to sit down and write out the code, even if I can already picture what it will look like. Thank you for taking the time to get this started! Today, I have some time to…