Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [libraries]

The tag has no usage guidance.

0
votes
0answers
15 views

All Files Link not visible in Lightning

We wanted to convert the Documents to Files as Documents are not available in Lightning. The Documents were created inside a folder and were shared with all the users hence, we wanted to provide same ...
10
votes
1answer
550 views

Apex Framework / library for consuming REST services

To consume REST services there is a lot of boilerplate code needed: Build Apex Objects to model the responses Code to deserialize REST responses to those classes Handling of HTTP requests, responses ...
0
votes
1answer
35 views

Locker Service and 3rd party library, how to pass Security review?

Is it a way to use 3rd party library/framework like Vue/Angular and bypass security review by Salesforce. Because only option to use those kind of library seems possible with version 39.0 which is ...
0
votes
2answers
28 views

Share a File Between Communities

I have files that were uploaded to the Asset Library for a Community by adding them to the Rich Content component on a Community page. When I look at the File's sharing settings, I can see that it is ...
0
votes
1answer
9 views

Changed File Asset & getting old version sometimes & new versions sometimes - cache has been cleared

I changed the image for a file asset. I am sometimes getting the old image and sometimes getting the new image when I use the same URL. It is as if Salesforce servers are out of sync. Does anyone ...
0
votes
2answers
81 views

Community Guest can see files in Asset Library

My Community Guest can see files in the Asset Library. How can I change this?
-1
votes
2answers
119 views

Design Patterns for Asynchronous Apex

Background After listening to Dan Appleman's talk: Dreamforce 13: Design Patterns for Asynchronous Apex I went to look at the code: Sample Code: Design Patterns for Asynchronous Apex ...
3
votes
1answer
329 views

How to Upload a File to a specific Library Folder using Apex?

I am trying to save a Visualforce page as a PDF file to a Library folder in our Salesforce org. I have been unable to figure out how to save this new PDF file to a specific Library folder. I tried ...
0
votes
1answer
31 views

visualforce list of available javascript libraries? [closed]

This is me frustrated with getting wrong search results... I'm looking for any salesforce based javascript files or libraries available for use in visualforce pages. I've come across a few in the ...
0
votes
1answer
138 views

How do I build a related list against a Files Library (in Lightning)

I want in the related tab of a record to have a Library related list shows all the files in a library? Is that possible?
2
votes
1answer
688 views

ltng require scripts not working for me!

I'm having trouble accessing my static resource (a js lib) in my controller.js in my lightning component. My goal is to bundle up all my javascript functions and classes and use across most ...
0
votes
0answers
93 views

Error in external library DataTables

I need to export my datatable to pdf, for that I'm using DataTables libraries. It seems to be running fine here: However while using the pdfmake.min.js file in lightning component, I'm getting below ...
1
vote
1answer
186 views

jsPDF library does not work in Lightning components 43.0 version

I have stored jsPDF library in static resource and using it in lightning component where version is 43.0. This library does not work if LockerService is enabled.I decreased version to 39.0 and then it ...
1
vote
0answers
38 views

Using jsPlumb library in lightning component

I'm trying to get jsPlumb to work inside a lightning component and I'm stuck in the beginning (https://jsplumbtoolkit.com/community/doc/home.html#container). When I try to initialize container, i get ...
1
vote
0answers
169 views

Lightning Component CSP - Meta tag http-equiv for TinyMCE

I have a lightning sub component within a larger component that uses TinyMCE js library locally to provide advanced editing capabilities. The component works when I disable LockerService, by setting ...
6
votes
1answer
51 views

Libraries inclusion propagation to children components in Lightning

If I have a parent lightning component and the component has ltng:require do I need to require the same libraries from the children components or will the inclusion be propagated to children? For ...
1
vote
1answer
35 views

Incorporate Less in the lightning project

Is it possible to incorporate Less in the lightning project? If possible, provide me with any manual on the topic you know about, please. Here is what I tried out: Uploaded the library file as a ...
2
votes
1answer
473 views

Can not draw a circle with d3.js in lightning component

Why can not I draw a circle with d3.js in a lightning component? appl.app: <aura:application > <c:libComp/> </aura:application> comp.cmp: <aura:component> <ltng:...
2
votes
2answers
481 views

how can we add Libraries to the community Home page?

Can we add libraries to the community home page to the users to view the library files in the community. Please help to to show the libraries in the community users which uploaded in the libraries. ...
9
votes
5answers
730 views

Any Platform Event Library or Best Practices out there?

I'm coming to a point where my software does to many things at the same time, so I decided to switch to Platform Events to decouple everything. I don't handle external events, I'm only planning to use ...
5
votes
3answers
3k views

Lightning overlayLibrary function reference won't close modal

Using the overlayLibrary, I am having quite a headache to nicely bind the footer's buttons functions with a parents function and closing the modal. What I currently have which work fine except it ...
2
votes
1answer
788 views

Apex libraries for parsing HTML?

I work with a Salesforce dev team (as a program manager), and on our last project we have an HTML-formatted email that comes in from an internal system that needs to be parsed to extract certain ...
1
vote
1answer
48 views

Can feature content be configured in lightning experience

In SFDC Classic,I'm able to select content/files to “feature” and they appear in a featured section under libraries I cannot find the same featured content files list in lightning experience. Can ...
4
votes
2answers
816 views

Where do I find the Libraries Tab in Lightning Experience?

Where do I find the Libraries tab in Lightning Experience? The only thing I've found so far is the Files tab: It has a section Libraries, but it's pretty much useless, since no Libraries can be ...
0
votes
0answers
341 views

Using Libraries in Salesforce Lightning

We used Libraries a lot in salesforce classic and have now moved to salesforce lightning. Here we have files with libraries as a subsection but with very limited functionality in comparison to classic....
1
vote
1answer
1k views

Salesforce Files Vs Salesforce CRM Content [closed]

Which one is the future? Or shall they continue to coexist? Can there be a scenario where both features are recommended to be used in tandem or interchangeably?
1
vote
2answers
357 views

Maximum number of folders in a library

Is there a limit for the number of folders a library can have? If so, what is the limit?
0
votes
0answers
24 views

Associate a folder to a record

In my work, I have been told to develop a VF page that would let the user to select a file and save it in existing/new folder in a library. There will be an option to create a new folder, there will ...
0
votes
1answer
1k views

Gantt chart for Salesforce

I'm looking for some library, possibly free, to make gantt chart with Salesforce classic and lightning. Do you know anything of these? Since, I will use in Lightning, it should be Locker Service ...
1
vote
0answers
28 views

How to correctly use external code in commercial ISV apps

The open-source ecosystem around Salesforce.com is getting bigger every day and smart ISVs don't reinvent every wheel needed for their app. How can app developer stay safe when using libraries like ...
6
votes
2answers
663 views

Locker Service and Fullcalendar.io

I have seen that there have already been some questions regarding the open source Fullcalendar.io and the various libraries associated with it, and the strict requirements of Locker Service, but I was ...
1
vote
2answers
672 views

Using third party libraries with LockerService enabled [duplicate]

I was wondering how third party libraries with LockerService enabled can work in the near feature. I work in a project where we use jQuery, AngularJs etc... and I'm afraid that we have to rewrite all ...
0
votes
1answer
346 views

Fulcalendar in lightning component

I'm using a fullcalendar library in my lightning component but the calendar is not showing up. Component: <aura:component > <ltng:require scripts="{!$Resource.jQuery}"/> <...
3
votes
1answer
122 views

Lightning Bundle fails to use external libraries after LockerService is Enabled

I am developing a component, that shows a set of photos, in a simple div, and then, by clicking one of them opens up gallery popup. I have successfully imported my external Javascript libraries as ...
1
vote
0answers
47 views

External Javascript/CSS not loading in lightning component [duplicate]

When my sandbox was updated from Winter 17 to Spring 17 all external js and css which are stored in static resource are not getting loaded in lightning component. Below is the error that we are ...
13
votes
1answer
844 views

Moment JS format returns function string in Lightning Spring 17

I use momentjs's library in my lightning application to manipulate javascript dates. When my sandbox was updated from winter 17 to spring 17 I noticed the format function doesn't work any more. ...
1
vote
0answers
112 views

Sharing Files to Lightning Partner Community Members

I have a need to share a file with all the members of my community and ideally track downloads using a report. My reading into the community documentation it looks like it should be possible but I am ...
1
vote
0answers
24 views

Search content fail when tag contains '&'

I am working on portal community and created link with tag for user to search.All of them success instead for tag named 'Debit & Credit'.I suspected it is due to '&' because when I remove '&...
1
vote
1answer
199 views

Searching Salesforce Content

How do we search the Salesforce content body(docx/pdf) in Apex. I wasn't even able to search by tagcsv, filtering by tagcsv is not supported. Can someone please guide me on this. Thanks! content = ...
1
vote
0answers
150 views

Content folder FIELD_INTEGRITY_EXCEPTION

Trying to create folder inside content library based on this information. As mentioned here I can do that, but when I am trying to set library id as ParentContentFolderId, I am getting an error. ...
3
votes
2answers
125 views

ExactTarget library duplicated symbol IOS

Hi everyone, I am trying to implement ExactTarget from SalesForce MobilePush and encountered a problem. Inside the static library contains ET's sqlite and at the same time my app is also using custom ...
0
votes
1answer
255 views

Remove Default Record Type for Content “General” from Page Layout

I need to remove the Standard Record Type Field from Library Page Layout. I had record types earlier which I have deactivated and even deleted but still the Master Record Type is present on the page ...
1
vote
0answers
50 views

Moving archived content from one Salesforce Library to another

I am trying to move archived content from one library to another. We are consolidating libraries and remapping content, but dataloader does not allow you to move archived content. Suggestions?
1
vote
1answer
374 views

Salesforce Community : Tabs not dipslayed

I am working on Salesforce community. I created a new site using Nappli template and did some customization with site.com and using branding. On the "community management", under Administration > Tabs,...
1
vote
0answers
728 views

Access Salesforce CRM Content in Communities & public VF pages

We have a requirement to put a custom download link on VF page for few Salesforce CRM Content. We would like to share few Salesforce content with "Community User" and few Salesforce Content with guest ...
0
votes
2answers
813 views

Is there any easier way to add multiple users to a library?

I have to add around 1000 users to few of my libraries. I tried using data loader but i am not able to find related table. Is this table exposed by salesforce? Is there any easy way to add users to ...
1
vote
1answer
387 views

Can we query Library member permission and information about which type of permission member held?

Can we query Library(ContentVersion) member permission and information about which type of permission member held ? Manage Library Add Content Add Content on Behalf of Others Archive Content ...
2
votes
0answers
37 views

How to efficiently retrieve all workspaces and their users/groups

I have this use case where, for each workspace, I want to retrieve the users and groups that have access to it. Right now, the only path that I see is querying the UserRecordAccess object for each ...
15
votes
3answers
2k views

How to pass security review when using “Without sharing” by design?

I failed to pass security review for an app that has two classes using the "without sharing" keyword. Both were not choosen accidentally but by design. On class is SObjectUnitOfWork.cls from Andrew ...
1
vote
1answer
3k views

Empty column error in Dataloader

I am trying to load Content with Dataloader. When I go to load the file, I get an error that says: I hit Yes and it says: I then click OK and nothing happens. It just sits on the screen it was at: ...