-
Notifications
You must be signed in to change notification settings - Fork 85
Open
Labels
bugSomething isn't workingSomething isn't working
Description
Describe the bug
As per the documentation, if we add either SharePoint or O365 data sources, ideally model and service files are automatically generated and placed in the /generated/services/ folder. But it's not happening. It creates separate folder called Models and Services. However it working fine for Dataverse data source.
Steps to Reproduce
- I have run these two commands one for O365Users and another one for SharePoint.
- For O365Users: pac code add-data-source -a "shared_office365users" -c "aaaaaaaa000011112222bbbbbbbbbbbb"
- For SharePoint : pac code add-data-source -a shared_sharepointonline -c [ConnectionID] -d [double-encoded SharePoint URL] -t [List GUID]
- It's not creating /generated/services/ or /generated/models/. It creates directly Models and Services folder and add the components inside it.
- If I add dataverse then generated folder is created and when I re-add again 0365 and SharePoint then those components added in this generated folder. But what was already created like Models and Services, it will stay like that only.
Expected behavior
This is what needs to be added when we add data sources irrespective of technology .
/generated/services/ or /generated/models/
Actual behavior
Not working for SharePoint and O365Users data sources.
Screenshots or Error Messages
Environment information
- Framework, build tool or relevant package used: [React,Vite, Webpack, etc]
- Any connection/components: [Office365, SQL, etc]
Additional context
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working