Best Location for Deploying Common File in WSP

I have a small wsp containing a masterpage and a stylesheet that will act as the standard branding for many SP site collections in my company.  One of the requirements is to have a footer with a link to a Terms & Conditions PDF in the masterpage.
 So I'd like this PDF to be deployed in this WSP with the masterpage and styles so that we don't have to manually add it when a new site collection is created.
My question is where is the best place to deploy this file so that I can easily link to it from anywhere in the site collection (i.e. top level site vs subsite)?  I was thinking a mapped folder would be best, but I'm not sure, and frankly I'm not sure
how to link to a file in a mapped folder.  Am I making this too difficult, should I just put the file in one centralized public place and hard-code the link in the master page?  Please let me know your thoughts.  Thanks.

Use mapped folder (Layouts) to deploy your files. In custom web part solution, map folder with your solution and copy the files in it. All other site collections can access files form mapped folder.
For Reference:
Deploying files using Mapped Folders
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :)

Similar Messages

  • Best Location for iTunes Library Files

    Greetings:
    Ive moved all of my iTunes media to NAS.  Is it best to have the iTunes library files on the NAS or should I leave on PC.  What are the considerations?   thanks in advance.  John

    It depends a bit on the size of the library. Each action with iTunes causes the database to be updated and there can be some detectable overhead if the library files are stored remotely. On the other hand it is then much easier to backup and restore or migrate the library to a new system if everything is located in a portable layout on that NAS. See Make a split library portable for some background. In practice it may be best to move the library files to local storage for performance but be prepared to move them to the correct path to make the library portable when the need arises.
    tt2

  • Where's the best location for the catalog file?

    To ensure Lightroom operates as efficiently and smoothly as possible, is there a best place to store catalog files?  Should they be with their projects or kept centrally on the main system drive?
    Regards
    John

    If you have a read of this article it will give you a good understanding on how the catalog works.
    http://www.mulita.com/blog/?p=42

  • Best practices for deploying common object services

    Hi,
    Our team has broken out from our main application around 10 services that largely are used to return objects from 10 common tables in the database. We are thinking that these services should be reusable amongst the 5 or so applications that we are going to have in the near future. We're now trying to decide what the best way to make these common services available to the applications is and after considering several ideas, these are the options we've come up with:
    1. Putting jars for all of the services in each application and adding entries to the sessions.xml for any Toplink project mappings that are in the jar files. Also are considering having just one many services jar.
    2. Exposing the services through web services and only giving the client apps the client side code to invoke the web service. Realize this may mean a performance hit, but would mean less code on the client.
    3. Stateless session EJB's.
    4. parent-application tag or some other way to make these jar's be available to all applications on the app server through classloading
    5. Some sort of messaging service
    Would appreciate some input on this, as this seems like it would be a fairly common problem.
    Thanks,
    Mark

    DBA2008 wrote:
    Is this good idea to put RPM recovery catalog & OID schema in OEM Repository DB? I am thinking just to consolidate all these schema's in one db.Unless you are really starved for resources, I would not recommend storing the OID and OEM repositories in the same database. Both of these repositories support different products, and you risk creating unnecessary dependencies when patching or upgrading. As a completely fictitious example, what if your OID installation has a critical issue that requires a repository database upgrade to version 10.2.0.6, and the Grid Control repository database is only certified for version 10.2.0.5?
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • What is best practice for deploying agent(10204) on RAC 9i

    Hello,
    What would be best practice for deploying agent(10204) on RAC 9i? Should the agent be deployed on each node or should the agent be deployed on the cluster file system? What are the advantages/disavantages deploy on individual nodes vs. on cluster file system? Please advice. Thank you in advance.

    Please use agent push application to deploy agent on all the nodes at one shot
    Please refer the obe
    http://www.oracle.com/technology/obe/obe10gemgc_10203/agentpush/agentpush.htm

  • Best location for Project.fcp

    Just getting started and testing. I am using a FW external drive for my media (the Scratch drive assigned via System Prefs). All is going well (so far).
    Is there a best location for the Project.fcp file? I think that I read that it best reside on my startup drive.
    But, I also read (I think) that the media files and project files should be kept in the same folder (I don't understand why). I would suspect that the Project.fcp file can be anywhere, just like any other document file. Correct?
    Thanks,
    Sonny

    I asked the same question over three years ago!
    Here was Tom's reply to me that has an added bit of info that might be useful:-
    "+Putting the project file on the system drive is generally considered good practice. I'm not sure how much actual performance improvement you'll see, but the media might be less likely to have dropped frames. It also means, if your autosave vault is on the media drive, that you have project file backups on a second hardware device in case one fails."+

  • Best application for cleaning my files

    Best application for cleaning my files?

    How to maintain a Mac
    1. Make redundant backups, keeping at least one off site at all times. One backup is not enough. Don’t back up your backups; make them independent of each other. Don’t rely completely on any single backup method, such as Time Machine. If you get an indication that a backup has failed, don't ignore it.
    2. Keep your software up to date. In the Software Update preference pane, you can configure automatic notifications of updates to OS X and other Mac App Store products. Some third-party applications from other sources have a similar feature, if you don’t mind letting them phone home. Otherwise you have to check yourself on a regular basis. This is especially important for complex software that modifies the operating system, such as device drivers. Before installing any Apple update, you must check that all such modifications that you use are compatible.
    3. Don't install crapware, such as “themes,” "haxies," “add-ons,” “toolbars,” “enhancers," “optimizers,” “accelerators,” “extenders,” “cleaners,” "doctors," "tune-ups," “defragmenters,” “firewalls,” "barriers," “guardians,” “defenders,” “protectors,” most “plugins,” commercial "virus scanners,” "disk tools," or "utilities." With very few exceptions, this stuff is useless, or worse than useless.
    The more actively promoted the product, the more likely it is to be garbage. The most extreme example is the “MacKeeper” scam.
    As a rule, the only software you should install is that which directly enables you to do the things you use a computer for — such as creating, communicating, and playing — and does not modify the way other software works. Use your computer; don't fuss with it.
    Never install any third-party software unless you know how to uninstall it. Otherwise you may create problems that are very hard to solve.
    The free anti-malware application ClamXav is not crap, and although it’s not routinely needed, it may be useful in some environments, such as a mixed Mac-Windows enterprise network.
    4. Beware of trojans. A trojan is malicious software (“malware”) that the user is duped into installing voluntarily. Such attacks were rare on the Mac platform until sometime in 2011, but are now increasingly common, and increasingly dangerous.
    There is some built-in protection against downloading malware, but you can’t rely on it — the attackers are always at least one day ahead of the defense. You can’t rely on third-party protection either. What you can rely on is common-sense awareness — not paranoia, which only makes you more vulnerable.
    Never install software from an untrustworthy or unknown source. If in doubt, do some research. Any website that prompts you to install a “codec” or “plugin” that comes from the same site, or an unknown site, is untrustworthy. Software with a corporate brand, such as Adobe Flash Player, must be acquired directly from the developer. No intermediary is acceptable, and don’t trust links unless you know how to parse them. Any file that is automatically downloaded from a web page without your having requested it should go straight into the Trash. A website that claims you have a “virus,” or that anything else is wrong with your computer, is rogue.
    In OS X 10.7.5 or later, downloaded applications and Installer packages that have not been digitally signed by a developer registered with Apple are blocked from loading by default. The block can be overridden, but think carefully before you do so.
    Because of recurring security issues in Java, it’s best to disable it in your web browsers, if it’s installed. Few websites have Java content nowadays, so you won’t be missing much. This action is mandatory if you’re running any version of OS X older than 10.6.8 with the latest Java update. Note: Java has nothing to do with JavaScript, despite the similar names. Don't install Java unless you're sure you need it. Most users don't.
    5. Don't fill up your boot volume. A common mistake is adding more and more large files to your home folder until you start to get warnings that you're out of space, which may be followed in short order by a boot failure. This is more prone to happen on the newer Macs that come with an internal SSD instead of the traditional hard drive. The drive can be very nearly full before you become aware of the problem. While it's not true that you should or must keep any particular percentage of space free, you should monitor your storage consumption and make sure you're not in immediate danger of using it up. According to Apple documentation, you need at least 9 GB of free space on the startup volume for normal operation.
    If storage space is running low, use a tool such as the free application OmniDiskSweeper to explore your volume and find out what's taking up the most space. Move rarely-used large files to secondary storage.
    6. Relax, don’t do it. Besides the above, no routine maintenance is necessary or beneficial for the vast majority of users; specifically not “cleaning caches,” “zapping the PRAM,” "resetting the SMC," “rebuilding the directory,” "defragmenting the drive," “running periodic scripts,” “dumping logs,” "deleting temp files," “scanning for viruses,” "purging memory," "checking for bad blocks," or “repairing permissions.” Such measures are either completely pointless or are useful only for solving problems, not for prevention.
    The very height of futility is running an expensive third-party application called “Disk Warrior” when nothing is wrong, or even when something is wrong and you have backups, which you must have. Disk Warrior is a data-salvage tool, not a maintenance tool, and you will never need it if your backups are adequate. Don’t waste money on it or anything like it.

  • What is the location for the swatches file in the illustrator product part of Adobe Creative Suite 3 Design Premium for windows (date and lenght)? File that manges its funcionallity.  Thanks

    As per adobe agent chat representative, the following question is posted on the fórum to obtain an answe from adobe.
    What is the location for the swatches file in the illustrator product part of Adobe Creative Suite 3 Design Premium for windows (date and lenght)? File that manges its funcionallity.
    Thanks
    <moved from downloading,installing,setting up - kglad>

    Illustrator is not working as it should...
    I want them to compare the original size and date of creation with what I have installed on my computer... I have installed several times with my original CD and I tried once downloading the files from the adobe site (using my own license). I suspect the files has been modified or renamed on my laptop by an external unauthorized user causing the malfunction of the application. 
    Customer services does not support CS3 anymore and the updates / patches in the adobe site does not solve the problem... They redirect me to the forums for support...
    Presently, my problem is that after creating a swatch and drag it to the swatch panel, it does not fill as it should a new form... Now, after deactivating and activating my license the swatch seems to fill the new form but when the filter that the swatch has is persistence in the next filling object created even though a different color is being used as a fill (X)... Help in the creation of a swatch over the internet just complicate the issue.
    That's why I would like to know whether updates on my product are being received or files are being replaced without my knowledge...
    Thanks...
    PS Do you know how to contact a staff adobe employer on the forums?

  • Best practices for deploying EMGrid Control

    Can i use one db for OEM & RMAN repository? Looking for Best practices for deploying EMGrid Control in our environment, I have experience working with EMGrid control it was very slow , how to make it fast ? Like i enjoy the speed of EMDBControl....

    DBA2008 wrote:
    Is this good idea to put RPM recovery catalog & OID schema in OEM Repository DB? I am thinking just to consolidate all these schema's in one db.Unless you are really starved for resources, I would not recommend storing the OID and OEM repositories in the same database. Both of these repositories support different products, and you risk creating unnecessary dependencies when patching or upgrading. As a completely fictitious example, what if your OID installation has a critical issue that requires a repository database upgrade to version 10.2.0.6, and the Grid Control repository database is only certified for version 10.2.0.5?
    Regards,
    John P.
    http://only4left.jpiwowar.com

  • Best ereader for non DRM files epub mobi pdf

    What is the best ereader for non DRM files epub mobi pdf

     You could give Bookviser a try. Once installed you can create a Bookviser account and upload your ebooks to your library. It supports Epub FB2 and text. 
    http://www.windowsphone.com/en-gb/store/app/bookviser/25bef109-9a3a-44a4-ba58-177cd642d143
    Ray.

  • Best method for archiving .mpp files on a separate server or location?

    We want to be able to run a program or job on Project Server 2013 that will export all current published project .mpp files to a separate server or location on our network. What is the best, or suggested, method for something like this? Our managers want
    to have this job run on a weekly or bi-monthly basis in order to have backup files of each active project schedule. This would be beyond the Project Server archive database. This would be for Business Continuity purposes of having those schedules available
    should our servers ever crash. 
    Any help would be much appreciated. I am not a developer, but if there is code available for something like this we have developers in-house that can perform the work. 
    Thank you,
    Travis
    Travis Long IT Project Manager Entry Idaho Power Co. Project Server Admin

    Project server already has an archiving mechanism which backs up project plans based on schedule and maitains versions of it which can be restored at any point ? check administrative backup in central Admin under PWA settings
    However I wouldn't say this is the best method, but you can run a macro which would export all projects and save it at a location(could be network file share), Something like this (havent tested it recently with 2013 but i believe should work
    Sub Archiving()
    Dim Conn As New ADODB.Connection
    Dim Cmd As New ADODB.Command
    Dim Recs As New ADODB.Recordset
    'Connect to Project Server Reporting DB, Get Project Names
    Conn.ConnectionString = "Provider=SQLOLEDB;Data Source=servername;Initial Catalog=ProjectServer_Reporting;User ID=; Password=; Trusted_Connection=yes"
    Conn.Open
    With Cmd
        .ActiveConnection = Conn
        .CommandText = "Select ProjectName From MSP_EpmProject_UserView"
        .CommandType = adCmdText
    End With
     With Recs
        .CursorType = adOpenStatic
        .CursorLocation = adUseClient
        .LockType = adLockOptimistic
        .Open Cmd
      End With
    Dim prjName As String
    Dim ArchivePrjName As String
    Application.Alerts (False)
    If Recs.EOF = False Then
       Recs.MoveFirst
       For x = 1 To CInt(Recs.RecordCount)
        prjName = "<>\" + Recs.Fields(0)
        FileOpenEx Name:=prjName, ReadOnly:=True
        ArchivePrjName = "C:\Temp\" & prjName & "4Sep2014_9PM"
        FileSaveAs Name:=ArchivePrjName, FormatID:="MSProject.MPP"
        FileCloseEx
        prjName = ""
        Recs.MoveNext
       Next x
    End If
       Recs.Close
       Conn.Close
    End Sub
     Let us know if this helps
    Thanks | epmXperts | http://epmxperts.wordpress.com

  • Best Practice for Deploying ADF application

    I am tasked with developing a best or prefered practice of feploying a large ADF application. Background: we are in the process of redeveloping a UI for a large system. We have broken the system down into susbsytems. Each of these susbsystems UI will be a ADF aaplicaion(?). This is a move from a MS .Net front end. The backend (Batch processes etc) is being dveloped in Java. So my question is if I have several ADF projects for each subsystem and common components that they all will use - what is the best practice to compile package and deploy? The deployment will be to weblogic server or servers(Cluster).
    We have a team of at least 40 -50 developers worldwide so we are looking for an automated build and deploy and would like to follow Oracle best practice. So far I have read Deploying ADF Applications (http://download.oracle.com/docs/cd/E15523_01/web.1111/e15470/deploy.htm#BGBJHGFH) and have followed the links. I have also look at the ADF evangalist blogs - lots of chatter about ojdeploy. My concern about ojdeploy is that dependent files are also being compiled at the same time. I expected that we want shared dependent files compiled only once (Is that a valid concern)?
    So then when we build the source out of subversion (ojdeploy ? Ant? ) then what is best practice to deploy to a weblogic server (wslt admin console) - again we want it to be automated.
    Thank you in advance for replies.
    RK

    Rule 1: Never use the "Automatically Expose UI Componentes in a New Managed Bean" option, create your bindings manually;
    Rule 2: Rule 1 is always right;
    Rule 3: In doubts, refer to rule 2.
    You may also want to check out :
    http://groups.google.com/group/adf-methodology
    And :
    http://www.oracle.com/technology/products/jdev/collateral/4gl/papers/Introduction_Best_Practices.pdf

  • Best practices for deployment from Dev /Staging /Production in SharePoint ?

    Hi All,
    What is a best practices to deploy SharePoint Portal to dev / staging / Production.
    I have custom solution deployed using WSP file. But I have done some changes using sharepoint designer.
    Like as Designer workflow, master pages etc.
    How can I deploy my document libraries and list to dev to prod using best practices?
    Thanks
    Balaji More

    Hi,
    According to your post, my understanding is that you wanted to know the best practices to deploy SharePoint Portal in different SharePoint environment.
    If the site is not existing in the production server, we can save the site from the development server, and then import it to the production server.
    But if the site is already existing in the production server, we should follow these steps to just add the taxonomy and content types to the production server:
    Save the site from Dev as a template
    Import the template as solution in Visual Studio
    Remove unnecessary items from the solution(Please pay more      attention on it. If a content type/list... in the solution is existing in      the production site too, it will replace the
    same object existing in the      production after deployment)
    Package the solution
    Deploy the solution in the production
    For more detailed, please see:
    http://ahmedmadany.wordpress.com/2012/12/30/importing-sharepoint-solution-package-wsp-into-visual-studio-2010/
    There is a similar thread for your reference.
    http://social.technet.microsoft.com/Forums/en-US/7dcf61a8-1af2-4f83-a04c-ff6c439e8268/best-practices-guide-for-deploying-sharepoint-2010-from-dev-to-test-to-production?forum=sharepointgeneralprevious
    Thanks & Regards,
    Jason
    Jason Guo
    TechNet Community Support

  • Best practice for using common VIs

    Hi,
    I have some projects, which use some common VIs (like open/close file format and similar). What is the best practice to use these common VIs? Now I copy these to the project folders, but now I have multiple copies of some VIs, which is difficult to maintian, if I need to modify something in these common files. 
    What sould i use? Still copy, or link the common folder to my project, or use a packed project, or something else?
    Thanks

    dont know if it is the best practice but with every new project, I create a new folder in my project (right click on my computer -> new -> virtual folder) and link that virtual folder to my folder that contains all my common code (vi/ctl/class) by right clicking on the newly created virtual folder and choosing "Convert to auto-populating folder".
    One downside is that if you modify one of those vis for your new application, it might break it for one of your older projects.
    I also use source code control (svn / git / mercurial / etc..) so if that happens, I can always go back to a previous working version.

  • What is the best product for converting MTS files (NOT on camera or in root directory) for editing in Final Cut

    Hello all,
    I have read the forums and know that I cannot use the Log and Transfer function on Final Cut Express 4.0 for my AVCHD files (from my Panasonic HC-V700) AFTER I have transfered the files out of the original root directory.  Unfortunately, I did not know this until recently and I have a bunch of old footage in .mts form that I copied onto my harddrive WITHOUT the root directory.  I now must get it into Final Cut Express 4.0.1. and I would like to use a Log and Transfer style program so that I can select what I need and erase the rest.  I know about the program VoltaicHD which can be used for this purpose.  I have not yet purchased it, but I will if this is my best option.  The downsides to it are that it takes a lot of time to process the files (i hear from this forum) and that it creates extremely large files (hearsay from this forum, though I would like to know just how big those files are and how they compare to the size of files final cut creates). When I tried the trial version, I also noticed that unlike the log and transfer function in Final Cut Express 4.0.1, you cannot capture multiple subclips from a single clip.  Well you can, but you have to load the clip into the viewing window again, which is not ideal.
    I would love some more advice on this.  I imagine other people have made this same mistake and have had to figure their way out of it.
    I was also wondering is it possible to use Final Cut Express's Log and Transfer program directly from files if they are in a different file format.  So far my experiments with this have failed.  But if this is possible, I suppose I can also just convert all the backlogged files wholesale into a format that Final Cut Express supports more easily for Log and Transfer (What file format would this be? Sorry I am new to this).  My new harddrive has a lot of free space, so I could probably handle the huge amount of storage that this would require for the raw footage and then I could erase it after I log and transfer just what I need.   In which case, do folks have recommendations for a file convertor.  I am dealing with over hundreds of files and I don't think the free online convertors would work. This product has been suggested to me, but I know very little about it.
    Thanks!
    Mira

    I am also finding, when I use Voltaic trial version, that the quicktime movies it creates are of inferior quality than those created through log and transfer into final cut express and imovie, particularly during rapid movement. There's a lot of visible lines running horizontally around areas of rapid movement (not sure what the lingo is for this).
    Anyway, now I am getting accustomed to the idea that my best bet is probably just a high quality converter to get my mts files into something more useable by final cut.  At this point, I am willing to sit through the render time that it will take on final cut express while I edit.  I am just trying to get my footage into workable format without losing quality.
    Thank you!
    Mira

Maybe you are looking for

  • Java function with Dynamic config throws null pointer exception

    hi Experts,    I am using dynamic config using java function in my message mapping.   The source message has a field called "fname".   The value of "fname" is the input to my java UDF.   The java UDF code is:    public String getDynamicFile(String fn

  • Hide command-box in portal

    I create a ABAP report with ALV grid layout. I link the report to a transaction. This report will be used in the gui and add to a roll in the portal. The transaction iview works well, but the command box is also visible. We use      ~webgui_simple_to

  • Business Objects Crystal Reports with Clarity - anyone on here use is?

    Hi all, we are in the process of upgrading our Clarity system to version 8.1.1 - which has gone away from Actuate to support Crystal Reports instead. Is anyone here using Crystal Reports with Actuate already? I was looking into upgrading from CR XI t

  • Is it possible to create a script that will replace text?

    I have created a template, and every day I change the text and the image source. Is it possible to make a script that read a file with the new text and the destination of the image and replace it?

  • Quick Time, Animated Web and IPhoto won't work

    This MacBook won't run animated Web sites, like YouTube, or school text books -- nothing appears in the space where the animation should occur. There is not a question mark on Quick Time. We've updated Quick Time and made sure the Flash Enabled box i