How to deploy file using module in existing document library ?

Hello,
I have picture library where I want to upload image using module
Location is "asset-library/PublishingImages/Images"
PublishingImages - Picture Library
Images - Folder name under PublishingImages picture library
I have added via module as below :
<!-- Image Files Start -->
<Module Name="WebFiles" Url="/asset-library/PublishingImages/Images" Path="WebFiles\Images" >
<File Path="newContent.jpg" Url="newContent.jpg" Type="GhostableInLibrary" />
</Module>
<!-- Image Files End -->
However when I activate the feature , it throws below error
The URL '/asset-library/PublishingImages/Images' is invalid.  It may refer to a nonexistent file or folder, or refer to a valid file or folder that is not in the current Web.
while URL is correct - would you please suggest where I am wrong ?
Thanks and Regards,
Dipti Chhatrapati

Hi Dipti,
You simply need the URL attribute of the module as 
Url="/PublishingImages/Images"
I am assuming asset-library is your sub site name. and if so it would not be required in URL of module
Cheers! Kapil Happy SharePointing PS: Please mark the reply as answer if it is what you are looking for.

Similar Messages

  • How to deploy EUS  using OVD with existing active directory ?

    Hi,
    I am new in Oracle FMW and want to explore more into it,
    I have existing MS active directory with users and group policies defined there  and I need to implement the solution for  all users  to authenticate in oracle Database (11gR2) via AD.
    and after searching reading some docs I came to know that It can be done by  "EUS deployment using AD and OVD".
    Now I am bit confused for where to start Please guide me . My env is as follows
    I have existing MS AD server (win2003) and oracle Database 11gR2 on HP unix..So Do I need another server (Win2003/2008) to install OVD or can I install OVD on existing AD server.
    What exactly software required to install OVD as I have downloded software from e delivery site "Oracle Identity and Access Management 11g (11.1.1.7.0)"  
    Is it same or do i need to download other one?

    Check this:
    Installing and Configuring Oracle Virtual Directory
    OIM Image: OID and OVD 11g Basic Install Steps
    Oracle&amp;reg; Fusion Middleware
    Middleware Technologies : Installing Oracle Virtual Directory

  • Copy files using modules to sub site in sharepoint

    Hi Team
    copy files using modules to sub site in sharepoint 

    Hi,
    Here is an example of the Elements.xml file for a module:
    <?xml version="1.0" encoding="utf-8"?>
    <Elements xmlns="http://schemas.microsoft.com/sharepoint/">
    <Module Name="Module1">
    <File Path="Module1\Sample.txt" Url="Module1/Sample.txt" />
    </Module>
    </Elements>
    More information:
    Sharepoint 2013 deploying files using a module to subsites
    http://sharepoint.stackexchange.com/questions/79290/sharepoint-2013-deploying-files-using-a-module-to-subsites
    Copy file from feature to subsite?
    https://social.msdn.microsoft.com/Forums/en-US/83ff07ca-0896-4e98-bd47-b4ffeb9f6ebd/copy-file-from-feature-to-subsite
    Thanks,
    Dennis Guo
    TechNet Community Support
    Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
    [email protected]
    Dennis Guo
    TechNet Community Support

  • How to extract audit log data from every document library in site collection using powershell?

    Hi All,
    I have n number of document library in one site collection,
    My query is- How to extract audit log data from every document library in a site collection using powershell?
    Please give solution as soon as possible?

    Hi inguru,
    For SharePoint audit log data, These data combine together in site collection. So there is no easy way to extract audit log data for document library.
    As a workaround, you can export the site collection audit log data to a CSV file using PowerShell Command, then you can filter the document library audit log data in Excel.
    More information:
    SharePoint 2007 \ 2010 – PowerShell script to get SharePoint audit information:
    http://sharepointhivehints.wordpress.com/2014/04/30/sharepoint-2007-2010-powershell-script-to-get-sharepoint-audit-information/
    Best Regards
    Zhengyu Guo
    TechNet Community Support

  • [Ai-CS4] How to add an  art board to existing document ?

    hi all,
    can anybody suggest me how to add a new artboard to existing document? I didn't find any ArtBoard Palette in CS4. But in CS5 it is given.
    thanks,
    D.A

    The Artboard panel is new to AiCS5. In CS4, a new artboard can be added by doing either of the two:
    1. Pick the Artboard Tool and click-drag it in the canvas area of the Illustrator document.
    2. Pick the Artboard Tool, click on the 'New Artboard' button in the Control Panel. Then select the desired size from the list of Artboard Presets in the Control Panel and then click in the desired area of the canvas to add a new Artboard.
    Hope this helps.
    Neeraj

  • How to flag a func. module in Func. Library as executable in Update Task?

    How to flag a func. module in Func. Library as executable in Update Task? I am getting a program termination error. The foollowing is the error analysis.
    Error analysis                                                   
    The function module "ZHEM" was called with the addition      "... IN UPDATE TASK".                                                                               
    However, it is not flagged in the Function Library as executable in the update task.

    Hi!
    Go to SE37, tab attributes, area processing type, choose radio button update module and desired type (V1, V1 no restart, V2, V3).
    Regards,
    Christian

  • How to get Page Count of pdf in Document library in EventHandler

    Hi,
    How to get Page Count of pdf in Document library once uploaded has been done and i would like to update the page count value in document library column of the corresponding file.
    I should achieve it in Event handler.
    Which even should i use, either ItemAdded or "ItemUpdated "?
    Thanks & Regards
    Poomani Sankaran.

    Hello,
    If you are looking for file download or view count then event handler will not work. You need to enable the analytic report to your site. Once you enable it then you can see the report within a browser or you can also create custom webpart to show count
    of specific file.
    http://blogs.msdn.com/b/ecm/archive/2010/05/03/web-analytics-in-sharepoint-2010-insights-into-reports-and-metrics.aspx
    http://sharepoint.stackexchange.com/questions/34611/count-of-files-under-a-folder-in-a-document-library
    Hope it could help
    Hemendra:Yesterday is just a memory,Tomorrow we may never see
    Please remember to mark the replies as answers if they help and unmark them if they provide no help

  • 2GB of video file upload to SharePoint 2013 document library

    Hi All,
    We have a requirement of uploading a 2GB of video file to a SharePoint 2013 document library. Will there be any issue due to increasing the maximum file size?
    Many Thanks,
    sudesh withanage

    It will be better if you save all your videos at one location,i.e Asset Library.Check the link for Asset libraries
    http://technet.microsoft.com/en-us/library/ee414275(v=office.15).aspx
    In case you want to add other files (i,e excel ,word) along with videos you will need to increase library size,
    Check the following link to increase the file size ,as well as the issues and workaround to solve the problems
    http://blogs.technet.com/b/praveenh/archive/2012/11/16/issues-with-uploading-large-documents-on-document-library-wss-3-0-amp-moss-2007.aspx
    Please Mark it as answer if this reply helps you in resolving the issue,It will help other users facing similar problem

  • How to generate an EXCEL file using module parameter??

    Hi,
    I ha ve a file to file scenario, where the output file format will be EXCEL. I know this is possible using Module Parameters. But I can't find a helpful blog.
    So please help me. Its urgent.
    Thanks in advance,
    Dwaipayan De

    Hi,
    Now excel file is generating. But the file is containing only the header part. I have used the following XSLT code :-
    <?xml version="1.0" encoding="utf-8"?>
    <?mso-application progid="Excel.Sheet"?>
    <xsl:stylesheet version="1.0"
    xmlns:html="http://www.w3.org/TR/REC-html40"
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns="urn:schemas-microsoft-com:office:spreadsheet"
        xmlns:o="urn:schemas-microsoft-com:office:office"
        xmlns:x="urn:schemas-microsoft-com:office:excel"
        xmlns:ss="urn:schemas-microsoft-com:office:spreadsheet">
        <xsl:template match="/">
            <Workbook>
                <Styles>
                    <Style ss:ID="Default" ss:Name="Normal">
                        <Alignment ss:Vertical="Bottom" />
                        <Borders />
                        <Font />
                        <Interior />
                        <NumberFormat />
                        <Protection />
                    </Style>
                    <Style ss:ID="s21">
                        <Font ss:Size="22" ss:Bold="1" />
                    </Style>
                    <Style ss:ID="s22">
                        <Font ss:Size="14" ss:Bold="1" />
                    </Style>
                    <Style ss:ID="s23">
                        <Font ss:Size="12" ss:Bold="1" />
                    </Style>
                    <Style ss:ID="s24">
                        <Font ss:Size="10" ss:Bold="1" />
                    </Style>
                </Styles>
                <Worksheet ss:Name="Page1">
                    <Table>
                        <xsl:call-template name="XMLToXSL" />
                    </Table>
                </Worksheet>
            </Workbook>
        </xsl:template>
        <xsl:template name="XMLToXSL">
            <Row>
                            <Cell>
                                <Data ss:Type="String">SupplyOfficeCode</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">WorkOrderNo</Data>
                            </Cell>
       <Cell>
                                <Data ss:Type="String">ApplicationNo</Data>
                            </Cell>
       <Cell>
                                <Data ss:Type="String">ApplicationType</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">ApplicantName</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">DateOfIssueOfWO</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">ApplCreationDate</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">WorkOrderStatus</Data>
                            </Cell>
                            <Cell>
                                <Data ss:Type="String">DateOfCanOfWO</Data>
                            </Cell>
            </Row>
            <xsl:for-each
                select="//Record">
                <Row>
                    <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="SupplyOfficeCode" />
                        </Data>
                    </Cell>
                    <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="WorkOrderNo" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplicationNo" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplicationType" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplicantName" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="DateOfIssueOfWO" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="ApplCreationDate" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="WorkOrderStatus" />
                        </Data>
                    </Cell>
      <Cell>
                        <Data ss:Type="String">
                            <xsl:value-of select="DateOfCanOfWO" />
                        </Data>
                    </Cell>
                </Row>
            </xsl:for-each>
        </xsl:template>
    <xsl:template match="GetWorkOrderDetailsinEXCEL">
    </xsl:template>
    </xsl:stylesheet>
    In the communication channel, full message is passing(including header and body part). But when the excel file is generating, it is containing only the header part. No message body is present there.
    Please help me to solve this proble.
    Thanks and Regards,
    Dwaipayan De

  • How to upload file using  *cl_gui_frontend_services* method

    hi
    i want to upload an image file using this method
    and i want to save it in MIME Repository (/SAP/BC/BSP/SAP/PRASHANT)
    DATA:
    itab TYPE TABLE OF sflight.
    CALL METHOD cl_gui_frontend_services=>gui_upload
      EXPORTING
        filename                = 'C:\temp\winter.jpg'
        filetype                = 'ASC'
        has_field_separator     = '|'
      CHANGING
        data_tab                = itab
    IF sy-subrc = 0.
    WRITE:/ 'success'.
    ENDIF.
    So plz tel me how i set given path to upload file using this method .

    Hi Prashant,
    Go through the [Link|https://forums.sdn.sap.com/click.jspa?searchID=24477690&messageID=6684222].
    Hope this is helpful.
    Regards,
    Abhinav

  • How Encrypt a File Using Key?

    Hi Guys,
    Here is my problem. I have to create a bank's document encrypted to send to a legacy system. ( Using a KEY to validate the roll process)
    I'm thinking to use two scenarios:
    1 - Generate the file via ABAP and sent it to a folder in a server to be consuming - SAP ERP.
    2 - Generate the file via ABAP, sent it to PI encrypt it via Java Mapping and sent it to a server.
    ABAP
    First question.
    There is a way to generate this file using SHA1 using a Key as parameter?
    (CALCULATE_HASH_FOR_CHAR)
    Second one.
    How can I decrypt this file to test?
    Third.
    There is others ways to encrypt a file via SAP ERP? UTF-8 and BASE32 are not encrypt codes. They are encoding code.
    PI
    First
    There is a library or other way to encrypt a file without implement a Java Mapping?
    Tnks.

    > There is a way to generate this file using SHA1 using a Key as parameter?
    Why don't you simple search the forum with "SHA1" term, you'd get the answer in an instant
    > How can I decrypt this file to test?
    > There is others ways to encrypt a file via SAP ERP? UTF-8 and BASE32 are not encrypt codes. They are encoding code.
    What encryption do you need?
    > But I would like to know if are these methods algorithms as DES, AES, RSA... or others ?
    Couldn't you say it at the beginning!
    By simply looking at CL_HARD_WIRED_ENCRYPTOR methods, we see that the encryption mechanism is very simple (I'm not expert so I can't tell what it is), I wouldn't rely on it...
    I recommend you to read [Note 662340 - SSF Encryption Using the SAPCryptolib|http://service.sap.com/sap/support/notes/662340]. There are also some documentation, security guides on sap library and sap marketplace.
    Edited by: Sandra Rossi on Jul 13, 2010 6:51 PM

  • HOW to read file using ftp???

    Hi to all,
    I have problem with reading file using ftp connection, i want to read only 1024 bytes for one time, and i have
    next code wich read this:
    byte buffer[] = new byte[1024];
    while( (readCount = input.read(buffer)) > 0) {
    bos.write(buffer, 0, readCount);
    but I dont know how to put all read data in one byte[] if i dont know length of file.
    I can't do some like: byte file[] = new file[1000000];
    Thanks for all sugestions!

          * Download a file from a FTP server. A FTP URL is generated with the following syntax:
         * <code>ftp://user:password@host:port/filePath;type=i</code>.
          * @param ftpServer FTP server address (incl. optional port ':portNumber').
          * @param user Optional user name to login.
          * @param pwd Optional password for <i>user</i>.
          * @param fileName Name of file to download (with optional preceeding relative path, e.g. one/two/three.txt).
          * @param destination Destination file to save.
         * @throws MalformedURLException, IOException on error.
         public void download(String ftpServer, String user, String pwd, String fileName, File destination) throws MalformedURLException, IOException {
            if (ftpServer != null && fileName != null && destination != null) {
                StringBuffer sb = new StringBuffer("ftp://");
                if (user != null && pwd != null) { //need authentication?
                    sb.append(user);
                    sb.append(':');
                    sb.append(pwd);
                    sb.append('@');
                }//else: anonymous access
                sb.append(ftpServer);
                sb.append('/');
                sb.append(fileName);
                sb.append(";type=i"); //a=ASCII mode, i=image (binary) mode, d= file directory listing
                BufferedInputStream bis = null;
                BufferedOutputStream bos = null;
                try {
                    URL url = new URL(sb.toString());
                    URLConnection urlc = url.openConnection();
                    bis = new BufferedInputStream(urlc.getInputStream());
                    bos = new BufferedOutputStream(new FileOutputStream(destination.getName()));
                    int i;
                    while ((i = bis.read()) != -1) { //read next byte until end of stream
                        bos.write(i);
                    }//next byte
                } finally {
                    if (bis != null) try { bis.close(); } catch (IOException ioe) { /* ignore*/ }
                    if (bos != null) try { bos.close(); } catch (IOException ioe) { /* ignore*/ }
            }//else: input unavailable
        }//download()If you don't want to strore the data into a file, use ByteArrayOutputStream instead of a FileOutputStream.

  • How to download file using ftp in bash script

    Hi! I'm runnig a bash script in solaris i want within the script to dowload file using ftp
    How can i do it?
    Tanks a lot

    hello,evgchech
    please try this way:
    1. In the bash script, try following command:
    ftp -n < ftpcmdfile2 in the ftpcmdfile (which is a file),coding the interactive commands of FTP such as:
    user anonymous  [email protected]
              cd /var/sun/download
              bi
              mget *.*
              bye
         try it and good luck!
    Wang Yu
    Developer Technical Support
    Sun Microsystems
    http://sun.com/developers/support

  • How to receive file using bluetooth transfer?

    my nokia lumia 900 was updated to windows 7,8. so, I can use bluetooth transfer but I cant recive file using bluetooth .. I just can send file

    You also need to downloand and install the Bluetooth Share app from the Marketplace before this will work for you. Note that the Bluetooth Share app is not available in some countries. 

  • How to open files using cmd command?

    Hello... First:
    try {
    Process p = Runtime.getRuntime().exec("cmd.exe ?????");
    catch(Exception e){ }well... I'm trying to open files using a cmd command. It's working only oppening files on my own pc, but i need to know if i can open files using a localweb's pc, with the follow address, for example:
    "\\172.21.0.4\firstdir\seconddir\thirddir..."
    Thanks :D

    Gamboua wrote:
    normaly, i type \\172.21.0.4\dir\dir\dir... directly directly in my cmd.This only works because you are already running cmd.exe
    Try getting it to work with cmd.exe at the start of the line.

Maybe you are looking for

  • Fast refresh on MATERIALIZED VIEW

    Oracle 10 g R2 (10.2.0.5) CREATE MATERIALIZED VIEW scott.mv_test TABLESPACE users NOCACHE LOGGING NOCOMPRESS NOPARALLEL BUILD IMMEDIATE REFRESH FORCE ON DEMAND WITH PRIMARY KEY AS Select .... I have this MV, when I do the FAST refersh as follows , I

  • Can we change the contrast of the Color in a Input dataforms

    Hi, We have a set of dataforms where users would enter the data in the input dataforms. When we enter the data(before saving) in dataform, All the cells where we have entered the data would be highlighted as Yellow color by default.Is there any way w

  • Photobooth has no video controls

    I've used Photobooth successfully in  the past, but today I launched it, and I can't play the video clips in my library. Why not? There are no controls to do so. Everything else works fine. I can see the thumbnails at the bottom of the screen. I can

  • How many movies are available

    I'm considering an ATV. How many movies are available for rent? Is it the same catalog as in iTunes or is there more on ATV? Thanks, NM

  • Where can I purchase a replacement G530 motherboard

    I've been searching everywhere on the internet to find a replacement board for my G530 4446-23U system.  The board I need is FRU P/N: 43N8342  If anyone knows where I may be able to find a good replacement I'd really appreciate it. And yeah, I'm pret