Skip to content

Commit

Permalink
Added more logging for views.
Browse files Browse the repository at this point in the history
  • Loading branch information
gunjandatta committed Oct 7, 2024
1 parent 32c74fe commit 1fecc7c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/helper/spCfg.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1181,6 +1181,9 @@ export const SPConfig = (cfg: ISPConfigProps, webUrl?: string): ISPConfig => {

// Parse the view fields
for (let i = 0; i < cfg.ViewFields.length; i++) {
// Log
logMessage("[gd-sprest][View] Add view field '" + cfg.ViewFields[i] + "' to the view.");

// Add the view field
view.ViewFields().addViewField(cfg.ViewFields[i]).execute(true);
}
Expand Down

0 comments on commit 1fecc7c

Please sign in to comment.