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

Announcements

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

Table datasource not editable when joined to a view in a form

(0) ShareShare
ReportReport
Posted on by 20

Hi,

I have a form with a grid that has a datasource based on a view.

The primary datasource (the view I mentrioned) is based on the SalesLine and exposes the RecId of each sales line.

Now I need to add a table datasource to the grid.

The table can be related to the view via SalesLine.RecId.

The main idea is to allow the user to edit a field inside the new table joined to the view.

I've added the secondary datasource to the form setting the view as JoinSource and Link Type "outer join".

Than I've created a link between the two datasources using addLink:

QueryBuildDataSource qbd = fds.queryBuildDataSource();
        qbd.clearLinks();
        qbd.joinMode(JoinMode::OuterJoin);
        qbd.addLink(fieldNum(TheFormView, SalesLineRecId), fieldNum(SalesLineExtended, RecId));
    

The grid is displaying correctly the data and the two datasources seems to be joined but when I click on "Edit" on the field I want to edit of the secondary datasource (based on the table) is not editable.

No error raised from the form.

I've set AllowEdit to true on the datasource of the form and the underlaying table.

Is is possible to edit field of a table datasource joined to a view? Is it the wrong way to achieve this?

Thank You in advance for your help.

I have the same question (0)
  • Suggested answer
    Martin Dráb Profile Picture
    239,874 Most Valuable Professional on at

    It makes sense to me that it's not allowed.

    What about adding an editable data source through a delayed link and editing the field outside of the grid?

  • PB-27051451-0 Profile Picture
    20 on at

    Ok thank you for your help.

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

Season of Sharing Community Challenge Launch!

Jump in, show your community spirit, and win prizes!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the May Top 10 Community Leaders

These are the community rock stars!

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Abhilash Warrier Profile Picture

Abhilash Warrier 461 Super User 2026 Season 1

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 428 Super User 2026 Season 1

#2
Subra Profile Picture

Subra 428

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans