In InDesign, snippets and libraries reference reusable content within the application. While they are similar, there are a few significant differences with these two items. This video explains what a library is and how to use it, how to select and create reusable objects, what snippets are and how to use them, and the circumstances of when to use a library versus when to use a snippet.
What is the difference between a snippet and a library? I hear that a lot. And which one should we use? That's what I want to talk about in this video. Snippets and libraries are referring to the same thing, which is a reusable piece of InDesign content. Anything that you can select in InDesign with the Selection tool. This text frame, this picture, this group, this entire page can be turned into a reusable object that you can use in another InDesign document.
So, instead of having to open up an old InDesign document, find what you want, copy it and paste it into the new InDesign document, you can have a collection of these individual elements and save them in a library or save them as a folder of snippets. Now, libraries are, I think, the most convenient way to have complete access to all of your snippets in one place. It's a single file that can be moved around and acted upon like a panel in InDesign. I've already created a library of elements from my garden catalog here.
And I've saved it into the project folder, so I can just go to File > Open, locate the library, it ends with .indl. And it opens up as a panel. It has little thumbnails of all of the objects that I've already added here. If I wanted to add another object, I can simply drag and drop. It comes in with the name of the image if it was just a single image, or I could double click it and call it something else, like cropped flower image. If I'm trying to get the same size in another document, I could just go to the other document, drag and drop that in, and then replace this picture with something else.
And I have the exact cropping and measurements that I need. In this other document, I could also drag any of these elements like this one here called, I'm double clicking on it to see it, flower grouping. I drag and drop it in. And it comes in with the picture and the text and the amount of space that I want in between, and it also brings over any paragraph, character, table, or object styles that are used here. So it's a really great way to move styles from one document to the next as well.
With the library, I can change the view. Right now, the default is Thumbnail view. But if I have a ton of things in here, I could change it to List view or Large Thumbnail view. I can sort things. I can even do a find in my library. That's what Show Subset does, it lets you search for things in the library according to their name, when they were created, or what it says in their description. Because a, frequently you might have 50 or 100 things in a library, like all of the ads, all of this, display ads that your customers give you for your magazine or different arrangements of pictures with captions for a photo spread and so on.
One more cool feature of libraries is that you can select one of the library items and instead of dragging and dropping you can use the library fly out menu and choose Place. And when you do so, it places the item at the exact same page coordinates that it had when you first added to it the Library, perfect for things like Footers and Headers. Here, it comes in as a perfect footer too, correctly placed. But what's not so great about Library is that only one person can open this Library file at a time. So, if you're working other people and a bunch of you need to access these items inside of a library, you're going to have to duplicate that file, that INDL file and give it to people and then when somebody updates something in the library, like let's say, you know ,we're changing our footers and headers, you're going to have to update all those libraries.
Another problem with libraries is that they are InDesign version specific. This library was created in InDesign CC and it can only be opened by InDesign CC. When InDesign CCC comes out, I'm not going to be able to open up this library. Like, if your CS6, you're not going to be able to open up any libraries that were created in CS 5 or 5.5 or 4. Instead, you have to drag all these guys out, save them and then open up that file in the later version then recreate the library.
Now, these disadvantages are not a problem with snippets. A snippet is when you take an object on the page or anything you selected with your Selection tool, like say these two things and then you export them as a snippet. You go to Export and you choose Snippet. InDesign snippet. You can also drag and drop from InDesign into Bridge to create a snippet or into the finder to create a snippet. And I have done so, I've exported all these things as snippets. I am going to put this in the dock over here for now.
And you can access all of your snippets from any folder on your hard drive or on a shared device, like a server. Or even in Dropbox, in a Dropbox folder. So here I have them in a folder in Mini Bridge, or I'm going to access them via Mini Bridge, which I think is a great way to well, work with your snippets. So, inside my client files folder, I have a folder called snippets, where I keep all the snippets that I use for all my different projects. I double click on here and I have one for, just for a magazine that I work on.
And here's the one for the catalog. These are the same objects that were in the library, but because I'm looking at them in Bridge I can see previews of them, or Mini Bridge which I think is a little bit more convenient, and I can drag and drop them from here as well. So, if I create a new document I can drag and drop these guys. Just like that, and if I wanted to have it automatically placed with the same coordinates, like I can with a library, you can do so with snippets too, because there's a preference setting. If I go to InDesign > Preferences all the way down to File Handling, there's a little section just about what happens when you import a snippet.
Should it be positioned at the cursor location, meaning its upper left hand corner will go whenever you clicked with the cursor, or should it come in at the original location? So, if I said Original Location and click OK, then I can place a snippet and it should come in at its original coordinates. Because we just have one folder full or our snippets, then anybody can access this on the server, anybody's who's got access to this folder. We don't have to worry about having one private library file that needs to be duplicated for anybody who wants to get in there.
So snippets are a lot more flexible, in my opinion, than libraries, but they're a little bit harder to manage. If you're working by yourself, you might as well just stay with a library. If you're working with a group of people, or you need to share snippets among different versions, because these snippets can be opened with different versions, then you want to go with snippets.
Updated
12/12/2019Released
8/25/2011New techniques will be added to the collection every other week, so check back early and often. Find more tips and tricks at indesignsecrets.com.Note: Because this is an ongoing series, viewers will not receive a certificate of completion.
Skill Level Intermediate
Duration
Views
Q: Why can't I earn a Certificate of Completion for this course?
A: We publish a new tutorial or tutorials for this course on a regular basis. We are unable to offer a Certificate of Completion because it is an ever-evolving course that is not designed to be completed. Check back often for new movies.
Related Courses
-
InDesign CC 2018 Essential Training
with David Blatner6h 30m Beginner -
InDesign: Interactive PDFs
with David Blatner2h 27m Intermediate -
InDesign CC 2018: EPUB
with Anne-Marie Concepción4h 35m Intermediate -
InDesign CC 2019 Essential Training
with David Blatner5h 23m Beginner -
InDesign Quick Start
with David Blatner22m Beginner
-
This Week's Secret
-
Introduction
-
Welcome to InDesign Secrets1m 10s
-
-
December 2019
-
November 2019
-
October 2019
-
409 Copy and paste effects4m 39s
-
-
September 2019
-
408 The master page trick1m 46s
-
August 2019
-
July 2019
-
June 2019
-
May 2019
-
November 2011
-
October 2011
-
August 2011
-
September 2011
-
April 2019
-
March 2019
-
February 2019
-
376 Make cast shadows3m 35s
-
-
January 2019
-
November 2018
-
December 2018
-
369 Shared CC Libraries tips5m 15s
-
October 2018
-
360 Find spacing problems4m 50s
-
363 Export all text8m 16s
-
-
August 2018
-
351 Change default fonts5m 51s
-
352 Best default RGB4m 45s
-
-
September 2018
-
July 2018
-
May 2018
-
343 Border spacing fix4m 59s
-
June 2018
-
346 Export to HTML55m 38s
-
April 2018
-
February 2018
-
March 2018
-
January 2018
-
325 Link text frames6m 10s
-
December 2017
-
November 2017
-
September 2017
-
October 2017
-
313 Quick Apply preferences6m 35s
-
August 2017
-
July 2017
-
May 2017
-
290 Work with scripts3m 35s
-
June 2017
-
April 2017
-
286 How to format ellipses5m 39s
-
March 2017
-
281 Share a CC library7m 10s
-
January 2017
-
February 2017
-
December 2016
-
271 Add images to an index4m 39s
-
November 2016
-
September 2016
-
October 2016
-
260 Batch process images7m 33s
-
263 Sync master pages5m 51s
-
-
August 2016
-
July 2016
-
June 2016
-
April 2016
-
May 2016
-
240 Side-by-side tables5m 35s
-
March 2016
-
February 2016
-
228 Setting text at an angle6m 24s
-
December 2015
-
January 2016
-
222 Adding paragraph shading1m 50s
-
October 2015
-
November 2015
-
September 2015
-
July 2015
-
August 2015
-
204 Creating a8m 14s
-
205 Managing scripts5m 38s
-
May 2015
-
189 Placing InDesign files5m 14s
-
-
June 2015
-
193 Printing tracked changes5m 41s
-
-
April 2015
-
186 Making long shadows5m 41s
-
February 2015
-
March 2015
-
January 2015
-
December 2014
-
November 2014
-
October 2014
-
September 2014
-
August 2014
-
July 2014
-
148 Cropping with paste into5m 18s
-
-
June 2014
-
May 2014
-
141 Inserting glyphs6m 42s
-
April 2014
-
March 2014
-
February 2014
-
January 2014
-
December 2013
-
November 2013
-
October 2013
-
September 2013
-
August 2013
-
105 Working with MiniBridge5m 45s
-
106 Customize your QR codes6m 17s
-
July 2013
-
June 2013
-
May 2013
-
April 2013
-
March 2013
-
February 2013
-
December 2012
-
069 Ten uses of the Story Editor11m 39s
-
-
January 2013
-
November 2012
-
October 2012
-
061 Embedding images7m 44s
-
-
September 2012
-
057 Text wrapping6m 54s
-
-
August 2012
-
July 2012
-
June 2012