Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Handling document localization to subfolder #5

Open
travelo94 opened this issue Nov 8, 2023 · 5 comments
Open

Handling document localization to subfolder #5

travelo94 opened this issue Nov 8, 2023 · 5 comments

Comments

@travelo94
Copy link

travelo94 commented Nov 8, 2023

Hi , i encountered a problem when i created document localization to subfolder related to parent document localization the control shows me the subfolder allows me to open it in sharepoint and add files etc. but doesnt show content.

image

when i open the folder in sharpoint all of the uploaded files with control are avaliable

@vantruonginfo
Copy link

me too :)

@ilia-sokolov
Copy link
Owner

The issue is being investigated and fixed.

@beeper77
Copy link

beeper77 commented Jan 24, 2024

I also have the problem with empty folders. @ilia-sokolov is it really fixed in the Solution zip file? I used the SPFileExplorer as a Subgrid in a Main form. Btw, I love the control :)

Update: It's working better if the Control is the only one in a tab. In my first test I used it in a section on the main tab. Maybe you can look at this topic.
I also have another little glitch. I use a SharePoint document link at company level. The company can have multiple projects and the project table also have a sharepoint link. to make it more interesting, in SharePoint the project folders are below the company folders.
2024-01-26_10h37_45
Here you can see the SharePoint folders at Company level. The SPMigration Folder is a Project in the Project Table and have its own connection between SP - Dataverse.
2024-01-26_10h37_56
This is the content of the SPMigration folder.

From the Company view in the power app I have the following glitch:
2024-01-26_11h09_33
The Rootfolder shows the wrong folders and a duplicate of the files. The content normally is below the spmigration folder and not at root level. Also the 2 root folders are missing. The navigation on the left site is also jumping around.
Any ideas?

@beeper77
Copy link

beeper77 commented Jan 26, 2024

I need to revise my comment. In my analysis, I initially assumed the wrong cause. It seems that the problem arises in the file "FullFileExplorerProps" in the function "initFullFileExplorerProps". A list of the content is created there: currentFolderContent = dataSet.sortedRecordIds.map((recordId) => {...
The dataSet comes from:
const dataSet = context.parameters.documentsDataSet;
So it comes directly from the Dataverse. For whatever reason, not all elements are contained in this dataset. The elements of the root level are missing, i.e. everything under SP Migration is included. "Internal" etc. is missing. However, Dataverse's own view of the documents shows the structure correctly.

@ilia-sokolov
Copy link
Owner

Dear @beeper77,
The control reuses filters of the view that it is applied. Could you please check if there are no conditions that limit the amount of data that is returned? Would you also mind to create a separate issue for this problem?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants