web
You’re offline. This is a read only version of the page.
close
Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

custom field on phone call activity

(0) ShareShare
ReportReport
Posted on by

i am not able to create custom field of date and time type on phone call activity

can anyone tell me the procedure to create the custom field on phone call activity

*This post is locked for comments

I have the same question (0)
  • Community Member Profile Picture
    on at

    Hi Neha,

    1. Settings->Customizations->Customize System
    2. Locate in the list of entities Phonecall entity
    3. Phonecall->Fields->Add New (Enter Name, select type as DateTime, change to Date and Time (default is Date Only))
    4. Phonecall->Forms - open default Main Form
    5. Add new field to the form - Save. Publish.
    6. In list of entities select Phonecall - click Publish

    Hope this helps

     

    Vlad

    dynamicalabs.com

  • neha singh Profile Picture
    on at

    But while creating new custom field crm throws error

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Neha,

    Can you please post what error do you get and do you use online or onprem?

  • Priyesh Profile Picture
    7,396 User Group Leader on at

    Can you paste the details of the error here?

  • neha singh Profile Picture
    on at

    Unhandled Exception: System.ServiceModel.FaultException`1[[Microsoft.Xrm.Sdk.OrganizationServiceFault, Microsoft.Xrm.Sdk, Version=8.0.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35]]: System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4951A76ADetail:
    <OrganizationServiceFault xmlns:i="www.w3.org/.../XMLSchema-instance" xmlns="schemas.microsoft.com/.../Contracts">
    <ActivityId>82a73d2d-5c8f-4c9b-bc05-788b03cae98d</ActivityId>
    <ErrorCode>-2147220970</ErrorCode>
    <ErrorDetails xmlns:d2p1="schemas.datacontract.org/.../System.Collections.Generic" />
    <Message>System.Data.SqlClient.SqlException: Microsoft Dynamics CRM has experienced an error. Reference number for administrators or support: #4951A76A</Message>
    <Timestamp>2017-09-27T12:23:41.7518182Z</Timestamp>
    <ExceptionRetriable>false</ExceptionRetriable>
    <ExceptionSource i:nil="true" />
    <InnerFault i:nil="true" />
    <OriginalException i:nil="true" />
    <TraceText i:nil="true" />
    </OrganizationServiceFault>

    I am using on-premise

  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Enable tracing - support.microsoft.com/.../how-to-enable-tracing-in-microsoft-dynamics-crm, restart IIS and repeat your scenario to get detailed information about error that appears. That information will appear in trace files.

  • neha singh Profile Picture
    on at

    Thanks Andrew

    But my trace file is empty even though I enabled the tracing

  • a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Have you restarted IIS?

  • Suggested answer
    prt33k Profile Picture
    6,907 on at

    Probably you need to look at different folder for the logs - the moment u turn trace on there is huge amount of log generated.

    Also, can you try creating attribute from code... something like this:

    CreateAttributeRequest createCheckedDateRequest = new CreateAttributeRequest

                       {

                           EntityName = "phonecall",

                           Attribute = new DateTimeAttributeMetadata

                           {

                               SchemaName = "new_date",

                               RequiredLevel = new AttributeRequiredLevelManagedProperty(AttributeRequiredLevel.None),

                               Format = DateTimeFormat.DateOnly,

                               DisplayName = new Label("Date", 1033),

                               Description = new Label("The date ", 1033)

                           }

                       };

                       _serviceProxy.Execute(createCheckedDateRequest);

    And see what error you are getting?

    Thanks

    Prateek

  • neha singh Profile Picture
    on at

    Hi Andrew,

    Yes i did..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans