Getting ID instead of name in SharePoint list 2010 - sharepoint-workflow

I have a share point list in which exists a column - Modified by - which has values such as - LastName, FirstName 123.
When i associate workflow on this list to create the same fields in another list, i am not getting values like above mentioned instead i am getting network id such as flname123.
Any help?

SharePoint treats fields that handle user info in a special way. "Modified By" is one of those fields. You'll want to check that the field you're copying the info into is of the type "person or group". Then your workflow will bring it over in the expected way.

Related

Mendix Retrieve last input value

In mendix i have 2 pages: Course Overview and Course_newEdit.
As the names suggest overview i the overview page and the second one is edit page.
The entity name is Course.
Its attributes are: Name String and Description String.
I have a requirement that i when a user edits course, the default value for name should be the last user input value.
So if the user has give first course name as History.
The second time any user tries to input the name, it should by default show History.
how can this be achieved?
I couldn't find any option for the same in the default settings.
Mendix 9.2 pro
If you are editing an existing course than it will automatically show the value that was last stored in the database so you don't need to do anything there.
If you are creating new course and want the default value of 'Name' attribute to be automatically filled in using the previous course object, than you have to retrieve last saved course object from database with range option = 'First' and add sort property that can identify the retrieve object as last saved course object. Than you can use retrieved last saved course and copy 'Name' to your new course object.
Please check out Mendix Forum and Mendix Slack Community if you have more questions.
Mendix Forum: https://forum.mendix.com
Community Slack: https://join.slack.com/t/mendixcommunity/shared_invite/zt-hwhwkcxu-~59ywyjqHlUHXmrw5heqpQ
first you need to retrieve the list "Course" from database then sort the list by creating date descending then retrieve head of the new sorted list then fill this object in the new created one
course/name

save a different value in the redux store than what is displayed on the frontend

I'm wondering if I can store a different value in the redux form FieldArray than what's displayed on the frontend.
Using the example from the docs: Each club has a club name and consists out of various members. I want to introduce another model called group which also consists out of at least one member.
I combine the firstName and lastName field to one field and let the user type in either the members individually OR the user can type in a group name which then fills in all members of that group but on the frontend, only the group name shows up, instead of each member name individually.
Currently, I allow this and then before I post the values to the server, I fetch the members of that group via a get request and then switch the group name for the member names.
I'm wondering if there is a more elegant (and faster) way to do this? I was looking at the parse method but it changes the value right away and doesn't let me display it how the user typed it in.

Show Order ID in Dynamics CRM Order Look up instead of Order Name

In Dynamics CRM 2016 (on-prem), I've custom child entity Partiesthat have a look of type order. Currently it is working properly and it is showing order name but I want it to show Order ID.
I tried to resolve by creating my own view, adding order id field only and making it default view for the look up but it don't meet my requirements.
This is controlled by the lookup view for Orders. The first three fields in the lookup view are shown when selecting records from the lookup field.
You cannot change the position of (or remove) the Name field from the lookup view. That still leaves you with two additional fields to be shown, one of which could be the Order ID.
I know no supported ways around this (except creating a workflow to copy the Order ID to the Name field and adding a custom name field instead, if you really insist).
Changing what appears on the form after you make a selection in a lookup field is not possible, unfortunately. The primary attribute is always what gets displayed after a user specifies a lookup value (which, for the Order entity, is the Name attribute). As Henrik's answer mentions, people commonly get around this by copying the value they want to see into the primary attribute using a workflow or a plugin.

How can I get userdefined fields on Microsoft Outlook Tasks to be shared exactly as they are on my screen?

I am trying to create a to do list for my team of what all is needing to be done and so that they can assign themselves to each particular task. I am doing all this as a task in microsoft outlook. In order to do this I had to create two additional columns for that were user defined to have them type stuff in. However, when I go to share the to do list with my team the only thing that is showing are the original column fields not the user defined column fields that I created that are editable. How can I get the user definied columns to show up on the peoples tasks list I am sharing this with? Thanks
You need to modify the folder view to show these columns.

External Content Type Column in SharePoint list (sort/filter non-integer fields)

I am on SharePoint 2010 and have a custom list. I have added an External Data column using the external content type which links to a view in another SQL database.
I have been able to successfully look up the field in my custom list, pull across related items and refresh them as they get updated in the other database. (For example, if my lookup value is an employee ID, then I am successfully able to bring across number of years the employee has been employed (integer value), employee name (string), hiring date (date), email (string).
The issue: When these fields come into my sharepoint list, although I can see them in the list, I CANNOT sort/filter on anything except for the integer value.
For example: I can sort/filter based on years the employee has been with the company, but I cannot sort/filter by employee name or hiring date.
I need this to be in a custom list vs. external list because there are other columns in this list which would be populated through sharepoint infopath form (for example, notes related to the employee record, last training date, etc.).
Any help would be greatly appreciated!
UPDATE: I found a work around for the date field (still not sure what to do about the string fields). What I did is in the SQL view, I changed the format of the column to integer using a CAST statement. Then in SharePoint list, I created a calculated column that equals the integer column coming from SharePoint (the formulas only show integer columns in the available columns list) and added 2 (=[years employed_int]+2). I made the format of the calculated column to be date and that seems to have worked. Not a clean solution, but at least it is a work around that will prevent delays to my scheduled implementation.

Resources