I have a case on customer side when a fields is updated om worker form the following error appear (Stack trace: Field 'MaritalStatus' in table 'DirPerson' has not been explicitly selected)
I try to add all fields related to table DirPerson using personalization , the error disappear.
When I check the form I find that the property of data source DirPerson (OnlyFetchActive) is set to true and there are a list of selection fields are added . When I check the form query I find that a specific list of fields appear in select statement of DirPerson not select *
I try to change OnlyFetchActive to false using COC in init method of the data source before calling original init method and Also I try to reset selection fields using this.queryBuildDataSource().fields().clearFieldList();
But still certain fields are selected .
I need to know is the featrure OnlyFetchActive is the one leads to error (Stack trace: Field 'MaritalStatus' in table 'DirPerson' has not been explicitly selected) , If the form query is select * from DirPerson this will solve the error if yes how to enforce it on the form
André Arnaud de Cal...
292,031
Super User 2025 Season 1
Martin Dráb
230,868
Most Valuable Professional
nmaenpaa
101,156