Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM forum
Suggested answer

I want to take the field name(column) and put in row of another table using plugin

Posted on by 153

Hi all,


I want to take column name from one table and then fill them in another table as row in one column using plugin. Whenever I create a column then the column name should automatically fetched from plugin and then that column name should go as row in another table.

I don' t want to create new entity. I have two table created with name Company Background Assessment and Assessment Score Report. Whenever i create any new column in the company background Assessment then a row should be created in the second table i.e. Assessment score report. And in Assessment score report, in under one column all the row should be added coming from adding columns in company background assessment.


Can anyone help with the code ?

Thanks in advance

  • Prashant.ITT Profile Picture
    Prashant.ITT 153 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    Sure pradeep

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    If you found any solution then please share.

  • Prashant.ITT Profile Picture
    Prashant.ITT 153 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    Okay pradeep, I will try to connect with microsoft for the same.

    Thank you so much pradeep

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    I know, but you have find some way to change the user action. because we do not have any trigger point which will help us to identify the column creation action.

    That's why i asked you to try with PCF or webresource.

    Please try to connect with Microsoft for the same.

  • Prashant.ITT Profile Picture
    Prashant.ITT 153 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    Thank you Pradeep

    But from PCF control, I have to create the field from the code itself and this is not want I want. Columns should be created from the table.

  • Suggested answer
    Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    I tried but did not find any trigger point for this.

    But I have on suggestion, you can create custom PCF control and from PCF control tries to create field for the entity programmatically.

    check below code to create field

    stackoverflow.com/.../crm-create-field-programmatically

    Once field created then write a logic to create row on related table.

    PCF control or webresource it is upto you.

  • Prashant.ITT Profile Picture
    Prashant.ITT 153 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    Is there anyway to do that whenever we create new column then it should trigger?

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    Yeah But Identifying trigger point for the plugin is difficult.

  • Prashant.ITT Profile Picture
    Prashant.ITT 153 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    There is no way with OOB. So, I want write a plugin to do achieve this functionality.

  • Pradeep Rai Profile Picture
    Pradeep Rai 5,490 Super User 2024 Season 2 on at
    RE: I want to take the field name(column) and put in row of another table using plugin

    I don't think, we have any OOB ways to achieve this.

    Did you connected with Microsoft for the same?

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

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans