2
When you create a page that contains a Page Part list you're unable to get the selected row from the main page.
currpage.Somepage.Page.GetRecord(currRec); //=> Not working you'll always get the first row
currpage.Somepage.Page.SetSelectionFilter(currRec); //=> Not working you'll always get the first row
currpage.Somepage.Page.OwnMethodThatSetsCurrRecEqualsRec(currRec); //=> Not working you'll always get the first row
It's a very strange behavior because it sub page does know which row it's on. if from the sub part the same action is executed the result is the selected.
Anyways. It would be a nice improvement.
currpage.Somepage.Page.GetRecord(currRec); //=> Not working you'll always get the first row
currpage.Somepage.Page.SetSelectionFilter(currRec); //=> Not working you'll always get the first row
currpage.Somepage.Page.OwnMethodThatSetsCurrRecEqualsRec(currRec); //=> Not working you'll always get the first row
It's a very strange behavior because it sub page does know which row it's on. if from the sub part the same action is executed the result is the selected.
Anyways. It would be a nice improvement.
STATUS DETAILS
Needs Votes
Business Central Team (administrator)
Thank you for your feedback. Currently this is not in our roadmap; however, we are tracking it and if we get more feedback and votes, we may consider it in the future. Sincerely, Business Central Team