Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 1065549
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 16, 20262026-05-16T19:49:05+00:00 2026-05-16T19:49:05+00:00

I am new to MS Dynamics and I would like to know if there

  • 0

I am new to MS Dynamics and I would like to know if there is a way of adding column to a view within that is a concatenation of some other columns, for example:

Firstname + ' ' + Lastname As Fullname

There doesn’t seem like there is an obvious (elegant) solution to this, all the suggestions I have seen suggest using javascript to maintain an new attribute.

Taken one step further, if I want to derive or calculate a column from another column for example a person’s age from their date of birth, this would need to be calculated on the fly when view loads, correct? Again I can’t immediately see a way to provide this simple functionality with the CRM framework. Perhaps I am missing something?

Any advice would be much appreciated.

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-16T19:49:06+00:00Added an answer on May 16, 2026 at 7:49 pm

    You’re not missing anything. There is NOT an elegant solution to your problem. If you want it in a view you’re going to need to add a custom column to display it.

    If its truly computed (storing a fixed value in the database could be stale, as in your age example) then you’ll need to add a plug-in on the post step of a Fetch message, parse the XML to determine if your entity is being returned, parse out the attributes which should be computed, compute the value, and then insert your computed attribute into the result xml.

    Lets say you’re not displaying the date of birth field in the view (you just want to display the age), then you’re also going to have to have a plug-in on the pre step of the Fetch Message, parse the XML to determine if your entity is the one being fetched, determine if hte age column is being returned, and if so, inject the computation basis columns into the column set being returned.

    Note that these plugin steps are NOT executed if you use the Filtered View’s in SSRS reports, so you’d have to compute the age in TSQL in those cases. I don’t think you’d ever be able to display the age column in CRM-created wizard reports (you can’t get TSQL in here and the plugins won’t run).

    Given all that if you have something that CAN be fixed (concatentation), I would compute it in a create/update plugin for that entity and store it in a custom attribute (Fullname). In that case the attribute will just work for grid views, all flavors of reporting, etc.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I would like to know if there's any templating engine that is used for
I would like to know if there is a way in jQuery to exlucde
I like the new Dynamic keyword and read that it can be used as
I would like a C# algorithm that re-arranges the chars in a string that
Is there a way to run code BEFORE model retrieval? I know about the
I am new to django and I didnt know that it included a forms
Friends, I have a dynamic sql query that I would like to execute and
i have a class karte i want to know is there a way of
Say I have a dynamic array like: int* integers = new int[100]; Is there
Using SQL Server 2008, I would like to specify the column names of an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.