Giter VIP home page Giter VIP logo

fileexplorer's Introduction

fileexplorer's People

Contributors

derrickvuong avatar jryude avatar paull10au avatar svc-scm avatar tepp0f3l avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar

fileexplorer's Issues

File Deletion on Salesforce not possible

Hello,

We use your component, and have a issue when trying to delete a file it gives out the following error:

"qsyd_FE.ContentDocumentTrigger: execution of AfterUpdate caused by: System.NullPointerException: Attempt to de-reference a null object (qsyd_FE)"

Internal Salesforce Error when ContentDocument has more than one ContentDocumentLink to User Object

If ContentDocument has only ContentDocumentLinks with LinkedEntityId of User Object (more than two links) package will throw Internal Salesforce Error (also in AppExchange package). The error seems to be caused by lack of null check in ContentDocumentLink when checking if LinkedEntityId type is EmailMessage.

Steps to reproduce:
Create ContentVersion and create two ContentDocumentLink for two different users.

Workaround:
Create additional ContentDocumentLink pointing to any other object than User.

I would like to fork and update this package but I receive errors when trying to sfdx force:source:deploy using the package.xml included

I would like to customize the UI for additional usability but when I fork the project and attempt to deploy I receive the following error.

sfdx force:source:deploy -x ./src/package.xml -u fe-sb
*** Deploying v54.0 metadata with SOAP API v51.0 connection ***
ERROR running force:source:deploy: No source-backed components present in the package.

Question 1:
Should I be able to fork and deploy this to a Dev Sandbox?

Question 2:
Any ideas on the error? I ran the sfdx update command and have the latest CLI.

Thanks for any help that can be provided.

Renamed file but icon with old name still appears - only in FE

A user has renamed a file owned by another user. In the Files related list, the files appear with the new name and the old version is gone, as expected.

But in File Explorer there are now two icons - one with the old name, and one with the new name. Both go to the same, newly renamed version of the file. This has happened several times for this specific user, who has some admin permissions that let her rename files she doesn't own.

Also, the component now constantly shows that it needs to be refreshed. Clicking refresh results in a green success banner, but the orange sync banner never goes away, and the old file icon is still there.

Salesforce Errors when deploying from AppExchange or GitHub

I have tried deploying this from the AppExchange and Github. I am receiving issues in both areas.

AppExchange Error: Q_Sydney_Logo: An unexpected error occurred. Please include this ErrorId if you contact support: 152651771-39560 (962122789)

GitHub deployment response:
package.xml:No package.xml found
package.xml:Bad file:Content is not allowed in prolog.

Users don't see the folders created by other users

I'm using this component on a Community and it looks great but if I login with one user and create a couple of folders and then I login with another member of the Same community they see the uploaded files but they don't see the folders even after Refresh.
image

image

Constant Error Pop-up

After the Winter '24 release in the sandbox orgs, we are receiving an error when trying to use or upload files onto the "Lightning File Explorer" installed package. This error is only happening on Sandboxes but not on our production org - I believe because the Winter '24 release has not happened on production yet.

We can technically close the error pop-up and proceed but it keeps popping up every time we try to do something (e.g. open the file explorer, select a file template, move files, etc). A screenshot of the error pop-up is attached.

renditionDownload

SOQL Governor Limit on Triggerhandler

Hello,
My customer is using FileExplorer as a package dependency within my managed package and it's throwing a GoverLimit on a SOQL query from ContentDocumentTriggerHandler class. (see attached)
I cannot update the package (managed) to fix it, that's why I'm asking you directly. Could you please help me solve this issue?
Your help would be very much appreciated.

Thanks a lot

image

SB Install Attempt failed: Q_Sydney_Logo: An unexpected error occurred- 406668055-153420 (2125010212)

Your request to install package "Lightning File Explorer Summer 20 Patch 18.0" was unsuccessful. None of the data or setup information in your salesforce.com organization was affected.

If your install continues to fail, contact Salesforce CRM Support through your normal channels and provide the following information.

Organization: RJI Professionals (00D8I0000008hb0)
User: Gears CRM (0054x000005ZCKP)
Package: Lightning File Explorer (04t2w000007TLyN) Error Number: 406668055-153420 (2125010212)
Problem:

  1. An unexpected error occurred. Please include this ErrorId if you contact support: 406668055-153419 (-1182165921)
    Q_Sydney_Logo: An unexpected error occurred. Please include this ErrorId if you contact support: 406668055-153419 (-1182165921)

Chatter Free users cannot upload files

Hello,

Once FileExplorer is installed, our users with the Chatter Free license receive an error when uploading/attaching a file in Chatter.

From the AfterUpdate trigger:
caused by: System.QueryException: Insufficient permissions: secure query included inaccessible field
Class.qsyd_FE.qsyd_ContentDocumentTriggerHandler.afterUpdate: line 59, column 1
Class.qsyd_FE.TriggerHandler.run: line 56, column 1
Trigger.qsyd_FE.ContentDocumentTrigger: line 14, column 1

Since these users cannot be assigned permission sets, can they be excluded altogether from the Trigger?

Thanks!
Justin K.

How to create File Explorer File for File not uploaded through the component

Hey,

I would like to use the component as it has multiple features my stakeholders have asked about.

I have a flow from which I call apex to create a PDF from a visualforce page and would like this file to already be in a folder, how do I get the Folder Id/The needed values and what is required there?

Thank you :)

Delete Not Working for Admin

I am a sys admin and I can delete contentdocuments just fine but the delete option is greyed out for me in File Explorer...

Unable to use the qsyd_FolderTemplate.generate method upon installation

Hi !

After installing the package from github and granting the permission set to my user i tried to invoke the qsyd_FolderTemplate.generate() method inside a trigger and got a security error.

It was due to the field LinkedEntityId__c on the FileExplorerFolder__c sObject being left out of the permission set.

Everything works well if you add the field manually to the permission set but is it the correct way to fix this or was this intended?

Appreciate the package a lot, thanks !

endless spinner in digital experience

Hi, we have the problem that the file explorer spinner does not disappear (sometimes) in our salesforce digital experience community.

i figured out that if i put a breakpoint in the first line of "renderedCallback" in qsycdFileExplorerTree.js it renders later and thus it somehow always works so i guess it is a timing issue or something.

hint: if i remove the spinner manually or by js code the component works well so i can access all files and stuff and it fully works.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.