How to ignore 1st row form the file(csv) sender CC

Hi,
I have a CSV File (File sender) that I need to load with PI.I want to Ignore 1st row from the file.
For example the File contains 10 rows  but PI  need to read  the data from 2nd row.
because in the 1st row contains header data like name, number, mobile, address, etc., I don't want to read this 1st row. I want to read only the data which starts from the 2nd row.
can you pls tell me the ignore command File Receiver CC
I am using these commands.
Record structure: item,*
item.fieldSeparator: ,
item.endSeparator : 'nl'
item.fieldNames:   Name, Number, Address, Mobile
Thanks in Adv
Vankadoath

Hi Vankadoath,
In your content conversion use the field document offset which ignores the number of lines to be ignored.
for example if you provide the value as "1" for document offset it will ignore the first line in your file.
(Under Document Offset, specify the number of lines that are to be ignored at the beginning of the document.
This enables you to skip comment lines or column names during processing.
Regards,
Naveen.

Similar Messages

  • How do you change name of the files before sending files to FTP site?

    Hi guys,
    my environment is SQL Server 2008 R2.
    Currently, I'm trying to figure out how to tackle the following project:
    I have over 100 files that I need to send via FTP on daily basis.
    Before doing so, I must change the extension of the file to a specific characters stored in a sql server table, for example if the file name is Store1.txt the new name will be Store1.111
    I was hoping that you guys can point me in the right directions :-)
    Codernater

    I would use a script task for renaming, Pass the data from the SQL table with the extension you want via a object variable to the script task iterate the files in the directory and rename as requried
    this code and link would help you
    http://stackoverflow.com/questions/12347881/renaming-files-in-folder-c-sharp
    DirectoryInfo d = new DirectoryInfo("....");
    FileInfo[] infos = d.GetFiles();
    foreach(FileInfo f in infos)
    File.Move(f.FullName, f.FullName.ToString().Replace("abc_","");
    Abhinav http://bishtabhinav.wordpress.com/

  • How to add 2 rows in the form layout?

    In the detail page,form layout only one row pick up from database and it displays please anyone have idea about how to display 2 rows or 3 rows in a page?
    how to add 2 rows in the form layout?
    It's very urgent
    Thanks in advance

    No. You can only achieve this with smart custom templates. Here is sample code which will display multiple employees in form layout:
    <af:forEach items="#{bindings.EmployeesTable.rangeSet}" var="row">
    <af:panelForm rows="1" maxColumns="2" width="10%" id="RegionsFormItems">
    <af:inputText id="EmployeesEmployeeId" value="#{row.LastName}" label="EmployeeId" .... />
    <af:selectInputDate id="EmployeesHireDate" value="#{row.HireDate}" label="HireDate" ...... >
    <af:convertDateTime pattern="#{nls.datepattern}"/>
    </af:selectInputDate>
    </af:panelForm>
    </af:forEach>
    Steven Davelaar,
    JHeadstart Team.

  • How to create a table in the file using java code.?

    HI,
    I should export the data from the view objects to a word document. I have done that but I should
    display the data in the form of a table.
    Kindly come up with the necessary information on how to create a table in the file using java.
    Thanks,
    Phani

    Hi, Thank you for responding to my query.
    The below are the details of my code.
    DCBindingContainer dcBindings =
    (DCBindingContainer)BindingContext.getCurrent().getCurrentBindingsEntry();
    DCIteratorBinding StudentDetailsContent =
    (DCIteratorBinding)dcBindings.get("StudentView1Iterator");
    OutputStreamWriter w = new OutputStreamWriter(outputStream, "UTF-8");
    Row currentRow =
    StudentDetailsContent.getRowSetIterator().first();
    Object a[]= currentRow.getAttributeValues();
    int i;
    for(i=0 ;i<=a.length;i++){
    w.write(a.toString());
    w.write(" ");
    w.flush();
    I am usning this coding to achieve the task of exporting data to file.
    I need to display this information in the table that is where I need help from you people.
    Thanks,

  • How is it posible to get the File name, size and type from a File out the H

    How is it posible to get the File name, size and type from a File out the HttpServletRequest. I want to upload a File from a client and save it on a server with the client name. I want to conrole before saving the name, type and size of the file.How is it posible to get the File name, size and type from a File out the HttpServletRequest.
    form JSP
    <form name="form" method="post" action="procesuploading.jsp" ENCTYPE="multipart/form-data">
    File: <input type="file" name="filename"/
    Path: <input type="text" readonly="" name="path" value="c:"/
    Saveas: <input type="text" name="saveas"/>
    <input name="submit" type="submit" value="Upload" />
    </form>
    proces JSP
    <%@ page language="java" %>
    <%@ page import="java.util.*" %>
    <%@ page import="FileUploadBean" %>
    <jsp:useBean id="TheBean" scope="page" class="FileUploadBean" />
    <%
    TheBean.doUpload(request);
    %>
    BEAN
    import java.io.*;
    import javax.servlet.http.HttpServletRequest;
    import javax.servlet.http.HttpServletResponse;
    import javax.servlet.ServletInputStream;
    public class FileUploadBean {
    public void doUpload(HttpServletRequest request) throws IOException
              String melding = "";
              String filename = request.getParameter("saveas");
              String path = request.getParameter("path");
              PrintWriter pw = new PrintWriter(new BufferedWriter(new FileWriter("test.java")));
              ServletInputStream in = request.getInputStream();
              int i = in.read();
              System.out.println("filename:"+filename);
              System.out.println("path:"+path);
              while (i != -1)
                   pw.print((char) i);
                   i = in.read();
              pw.close();
    }

    Thanks it works great.
    Here an excample from my code
    import org.apache.commons.fileupload.*;
    public class FileUploadBean extends Object implements java.io.Serializable{
    String foutmelding = "geen";
    String path;
    String filename;
    public boolean doUpload(HttpServletRequest request) throws IOException
         try
         // Create a new file upload handler
         FileUpload upload = new FileUpload();
         // Set upload parameters
         upload.setSizeMax(100000);
         upload.setSizeThreshold(100000000);
         upload.setRepositoryPath("/");
         // Parse the request
         List items = upload.parseRequest(request);
         // Process the uploaded fields
         Iterator iter = items.iterator();
         while (iter.hasNext())
         FileItem item = (FileItem) iter.next();
              if (item.isFormField())
                   String stringitem = item.getString();
         else
              String filename = "";
                   int temp = item.getName().lastIndexOf("\\");
                   filename = item.getName().substring(temp,item.getName().length());
                   File bestand = new File(path+filename);
                   if(item.getSize() > SizeMax && SizeMax != -1){foutmelding = "bestand is te groot.";return false;}
                   if(bestand.exists()){foutmelding ="bestand bestaat al";return false;}
                   FileOutputStream fOut = new FileOutputStream(bestand);     
                   BufferedOutputStream bOut = new BufferedOutputStream(fOut);
                   int bytesRead =0;
                   byte[] data = item.get();
                   bOut.write(data, 0 , data.length);     
                   bOut.close();
         catch(Exception e)
              System.out.println("er is een foutontstaan bij het opslaan de een bestand "+e);
              foutmelding = "Bestand opsturen is fout gegaan";
         return true;
         }

  • How do I upload and attach the file to Service Request

    [This thread was migrated from the On Demand Developer Forum in the old Siebel Community]
    drangineni
    New Contributor
    Hi,
    I am trying to upload a file and add it to a Service object as an
    attachement. I greatly appreciate if you could provide any code or
    sample...
    Thanks.
    Daya
    Product: CRM OnDemand
    10-21-2006 10:58 AM
    Re: How do I upload and attach the file to Service Request...
    BigSlick
    Valued Contributor
    On Demand doesn't support adding attachments via web services. One
    solution I've seen is depending on the scenario is to create a web link
    field on an object that's based on a custom text field. Your web service
    can populate that custom field and the web link can generate a dynamic
    link to the file in On Demand's UI. However, this depends on where the
    attachment is located and if the user needs some sort of firewall access.
    Hope this helps
    -BigSlick
    10-23-2006 11:43 AM
    ==============================================================================
    Click on the board or message subject at the top to return.

    Yes this still holds ture.
    Bardo

  • How do I move a movie I have synced from iTunes into the "Movies" tab of the Video App? I need to access a slideshow I made in IMovies and may not have WiFi. I did it once, but can't figure out how to do it again! The file is an m4v. Thank you!

    How do I move a movie I have synced from iTunes into the "Movies" tab of the Video App? I need to access a slideshow I made in IMovies and may not have WiFi. I did it once, but can't figure out how to do it again! The file is an m4v. Thank you!

    Im just guessing but it seems like you would have to get your movie into the correct folder on a computer then use iTunes to sync it to your iPad. If you've synced to a computer and have movies then on your computer should be a folder with the movie in it. You could export your iMovie to something like Dropbox then download from Dropbox to the folder you think it needs to be in the sync your iPad again. Again this is just a guess. Others may have a better answer.

  • How can I transfer all of the files from my old iPhone 4S to my new iPhone 5?

    how can I transfer all of the files from my old iPone 4S to my new iPhone 5?

    Download the media content from an iTunes library or the iTunes Store, and follow these instructions to transfer your personal settings and data.
    (83108)

  • Can you use Easynews to download movies etc to IMac and how and where do you save the files?

    Can you useEasynews to download movies etc to IMac and how and where do you save the files?

    From your Apple menu at the left end of the menubar, select "About this Mac." You get a window similar to this:
    1) The Mac OS version is just under the big "MAC OS X" line. Post what that says.
    2) We can start to figure out what iMac you have if you post what that the "Processor" line says.
    We need to find out because Apple's poor labling choices for this forum, intended for iMacs made before 2006, causes people with newer and much more capable Macs to post here by mistake.
    Without some info from you, it's much like your calling an auto mechanic and asking if you can use a certain part without telling him the make, model, or year of your car. Quess what his first question will be? Works the same here.

  • How adutilities comes to know that the file system is shared file system

    How adutilities comes to know that the file system is shared file system ?
    In multinode shared file system : if we want genearte message file we can invoke adadmin from any node and perform this activity. In this case, how adadmin knows that the filesystem is shared filesystem.

    Duplicate post.
    How adutilities comes to know that the file system is shared file system
    How adutilities comes to know that the file system is shared file system

  • How can I make Spotlight show the file path

    How can I make Spotlight show the file path in the Spotlight menu for selected file?

    Via Finder certainly, but not in the menu.  You can view the file path in the Spotlight search results display by pressing the ⌘ key (while hovering over a file in the results), though.  The path will display at the bottom of the Quick Look output, or cycle through that location.

  • How can I keep tabs on the file size when importing from the Event Library into a Project? I want to ensure the movie will fit onto a 4.7Gb disc?

    How can I keep tabs on the file size when importing from the Event Library into a Project? I want to ensure the movie will fit onto a 4.7Gb disc?

    iDVD does not care about file sizes, as it compresses the file to the standard DVD format of mpeg2.
    It only cares about length i.e. max 2 hours including titles etc.
    iDVD encoding settings:
    http://docs.info.apple.com/article.html?path=iDVD/7.0/en/11417.html
    Short version:
    Best Performance is for videos of up to 60 minutes
    Best Quality is for videos of up to 120 minutes
    Professional Quality is also for up to 120 minutes but even higher quality (and takes much longer)
    Professional Quality: The Professional Quality option uses advanced technology to encode your video, resulting in the best quality of video possible on your burned DVD. You can select this option regardless of your project’s duration (up to 2 hours of video for a single-layer disc and 4 hours for a double-layer disc). Because Professional Quality encoding is time-consuming (requiring about twice as much time to encode a project as the High Quality option, for example) choose it only if you are not concerned abo
    In both cases the maximum length includes titles, transitions and effects etc. Allow about 15 minutes for these.
    You can use the amount of video in your project as a rough determination of which method to choose. If your project has an hour or less of video (for a single-layer disc), choose Best Performance. If it has between 1 and 2 hours of video (for a single-layer disc), choose High Quality. If you want the best possible encoding quality for projects that are up to 2 hours (for a single-layer disc), choose Professional Quality. This option takes about twice as long as the High Quality option, so select it only if time is not an issue for you.
    Use the Capacity meter in the Project Info window (choose Project > Project Info) to determine how many minutes of video your project contains.
    NOTE: With the Best Performance setting, you can turn background encoding off by choosing Advanced > “Encode in Background.” The checkmark is removed to show it’s no longer selected. Turning off background encoding can help performance if your system seems sluggish.
    And whilst checking these settings in iDVD Preferences, make sure that the settings for NTSC/PAL and DV/DV Widescreen are also what you want.
    http://support.apple.com/kb/HT1502?viewlocale=en_US

  • I have just bought a Panasonic Lumix compact camera. Aperture and Preview can't open the RAW files from this camera. Panasonic recommend downloading 'SYLKPIX Developer Studio SE' to save RAW file formats.How can Aperture and Preview read the files?

    I have just bought a Panasonic Lumix compact camera. Aperture and Preview can't open the RAW files from this camera. Panasonic recommend downloading 'SYLKPIX Developer Studio SE' to save RAW file formats.How can Aperture and Preview read the files?

    Either use 'SYLKPIX Developer Studio SE' to develope the RAW files and to save them in another lossless format like TIFF, or try if Adobe's free DNG Coverter can convert your Lumix RAW files to dng. Then import the dngs. This way, your files will still be RAW files.  This works (most times) for my Lumix FZ28.
    Adobe DNG Converter 8.3  http://www.adobe.com/support/downloads/detail.jsp?ftpID=5695

  • How to install front row on the dock ?

    how to install front row on the dock ?

    Find it in your applications directory and drag it to the dock.  Anywhere left of the divider is OK.
    Regards,
    Captfred

  • Each time I reopen a folder the files get rearranged alphabetically, how do I stop this so the file arrangement in the folder stays the same?

    Each time I reopen a folder in OS X 10.8.4 the files get rearranged alphabetically, how do I stop this so the file arrangement in the folder stays the same?

    I might add that all the files are aliases. There are 40 altogether and I am aware I could create 10 sub-folders so I only have 4 aliases in each subfolder which would mean I only have to rearrange 4 aliases each time but this is still not ideal. I have been using Macs since the 1980's and up to now files have always stayed where you put them unless you selected Arrange By in the Finder View Menu.

Maybe you are looking for