Doubt in infopath customization

Hi All,
i have a infopath form, in that i have one repeating table and one file attachment.
Now, my doubt is when i insert the file in file attchment control, i want add that file to repeating table

So what you want is to copy attachment from 1 item to another. hope below will help you:
string dest=
siteCollection.Url + "/" + site.Name + list.Name + item.File.Name;
http://stackoverflow.com/questions/1075323/copy-list-items-from-one-list-to-another-in-sharepoint
http://social.technet.microsoft.com/Forums/en-US/8572426f-f829-4fdc-9b60-9e7ee4b92b76/how-to-copy-attachments-from-one-list-to-another-on-change-of-status-of-an-item-in-a-sharepoint?forum=sharepointadminlegacy
http://social.msdn.microsoft.com/Forums/en-US/a35b496e-c7d3-4e03-871d-eacf36989051/powershell-copy-list-item-with-attachments-from-one-sharepoint-list-to-another?forum=sharepointdevelopmentprevious

Similar Messages

  • Infopath customization in sharePoint

    Hi All,
    Can any one help me to do infopath customization in sharePoint?
    Thanks in advance!

    Hi,
    You can use
    Visual Studio Tools for Applications (VSTA) to write code for InfoPath forms.
    Here are some links about this:
    http://blogs.msdn.com/b/infopath/archive/2010/03/18/introduction-to-programming-in-infopath-2010.aspx
    http://blogs.msdn.com/b/uksharepoint/archive/2009/02/03/top-tips-for-infopath-form-development-with-sharepoint-part-1.aspx
    http://www.bizsupportonline.net/blog/2009/09/beginners-programming-infopath-browser-forms-sharepoint/
    http://www.youtube.com/watch?v=bFdPkTdgpe0
    Best regards
    Patrick Liang
    TechNet Community Support

  • Doubt in Form Template Customization Using VSTA

    Hi All,
    i have doubt in InfoPath form development using VSTA.
    I have one form template, i want to auto fill(Using Hard coded) some of fields in that form like name,date and mobile number.
    Can any one help me out how to do that.
    Thanks in advance!

    Hello,
    No need to use VSTA if you just want to set hardcode values. You need to set rule on form load event. Refer this link to set field value on form load:
    http://www.bizsupportonline.net/infopath2007/infopath-basics-how-to-populate-form-when-opened-loaded.htm
    Anyway if you want to auto populate user detail from sharepoint then use userprofileservice.asmx service. (YOu will need to create user profile service in your farm to leverage this)
    https://askmanisha.wordpress.com/2013/07/22/how-to-set-current-user-details-in-an-info-path-form/
    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

  • How to upload all the customization of infopath on different site

    Hi
    We have a sharepoint site have 5-6 custom List. We have customized the forms of every list using InfoPath. Now this site is used as the template for other 50 sites in production environment.
    These all changes are published in production environment.
    Now we have done more modification in InfoPath customization of site. Now how we will deploy this customization to all the 50 that is created previously.
    I am new to project server.

    Hi SonikaJ,
    As Kirstesh said, you cannot deploy easily new customizations to your existing sharepoint sites. You have to save your site with your new customizations as a template and associate it to an EPT (Enterprise Project Type) from PWA/Server settings.
    Nevertheless you can use a powershell script to update all existing sharepoint sites with your new customizations.
    More technical experts on this forums might give you more details about powershell scripts.
    Hope this helps.
    Guillaume Rouyre - MBA, MCP, MCTS

  • Regarding Freight Charges and Discounts in Depo Excise Invoice

    Hi All,
    I got a requirement from my client for the customization of depo excise invoice in his own format in this invoice i got fields like Freight charges and Dscounts and now i want to know from which table system had to pick these charges if it is normal invoice we can take it by using condition recor number but in a Excise invoice how it shoud be picked and what is the technical information i have to share with abaper for DISCOUNTS and FREIGHT CHARGES to get display in EXCISE INVOICE.
    Regards
    Sunil

    Hi
    Thanks for your reply and i am having one more doubt regarding the customization of excise invoice, in the excise invoice there is one filed Purchase order number and Purchase order date.I checked the fields of this in table VBKD and now i want  to fetch these values using J_1iRG23D according to my ABAPER.
    How can i fetch this and what is the logic involved.
    Regards
    Sunil

  • How to populate a sharepoint 2010 list from the active directory. How to populate a sharepoint 2010 list with all sharepoint user profiles

    How to populate a sharepoint 2010 from the active directory.
    I want a list of all the computers in the active directory,
    another one with all users.
    I want also to populate a sharepoint 2010 list from the sharepoint user profiles.
    Thanks
    sz

    While
    the contacts list is usually filled out for contacts that are outside the company, there are times when you would use a contacts list to store internal and external resources.  Wouldn’t it be nice if you didn’t have to re-type your internal contacts’
    information that are already in the system?  Now you can with a little InfoPath customization on the contacts list. 
    Here’s our plan:
    Create the contacts list, and open in InfoPath
    Create a data connection to the User Profile web service
    Customize the form adding some text, a people picker and a button
    Create InfoPath rules that will populate the contact fields from the user fields in the User Profile store
    Let’s get going!  Before we begin, make sure you have InfoPath 2010 installed locally on your computer.  I also want to give credit Laura
    Rogers and Darvish Shadravan’s book Using
    Microsoft InfoPath 2010 with Microsoft SharePoint 2010 Step by Step.  I know it looks like a lot of steps, but it’s easy once you get the hang of it.
    So obviously we need a contacts list.  If you don’t already have one, go to the SharePoint site where it will live, and create a contacts list.
    From the list, click the List tab on the ribbon, then click Customize form:
    So now we have our form open in InfoPath 2010.  Let’s add our elements to the form. 
    Above all the fields, let’s add some text instructing users what to do with the the field we’re about to add (.e.g To enter an existing user’s information, choose the user below).
    Insert a people picker control by clicking the Person/Group Picker control in the Controls section of the ribbon.  This will add a column to the contacts list called group.
    Below the people picker, insert a button control from the same section of the ribbon as above.  With the button still highlighted, click the Control Tools|Properties tab on the ribbon. 
    Then in the Label box, change the text to something more appropriate to our task (e.g. Click here to load user data!).
    You can drag the button control a little larger to account for the text.
    We should end up with something like this:
    Before we can populate the fields with user data, we need to create a connection to the User Profile Service.
    Add a data connection to the User Profile Service
    Click the Data tab on the ribbon, and click the option From Web Service, and From SOAP Web Service.
    For the location, enter the URL of your SharePoint site in the following format – http://<site url>/_vti_bin/UserProfileService.asmx?WSDL.  Click Next.
    Note - for the URL, it can be any SharePoint site URL, not just to the site where your list is.
    For the operation, choose GetUserProfileByName.  Click Next.
    Click Next on the next two screens.
    On the final screen, uncheck the box for “Automatically retrieve data when form is opened”. This is because we are going to retrieve the data when the button is clicked, also for performance reasons.
    Now we need to wire up the actions on our button to populate the fields with the information for the user in the people picker control.
    Tell the form to read the user from the people picker control
    Click the Home tab on the ribbon.
    Click the button control we created, and under the Rules section of the ribbon, click Manage Rules. Notice the pane appear on the far right.
    In the Rules pane, click New –> Action. Change the name to something like “Query and load user data”.
    Leave the condition to default (none – rule runs when button is clicked).
    Click the Add button next to “Run these actions:”, and choose “Set a field’s value”.
    For Field, click the button on the right to load the select a field dialog.  Click the Show advanced view on the bottom.  At the top, click the drop down and choose the GetUserProfileByName
    (Secondary) option.  Expand myFields and queryFields to the last option and highlightAccountName.  Click ok. 
    For Value, click the formula icon. On the formula screen, click the Insert Field or Group button. Again click the show advanced view link, but this time leave the data
    connection as Main. Expand dataFields, then mySharePointListItem_RW.  At the bottom you should see a folder called group (the people picker control we just added to the form).  Expand this, then pc:Person,
    and highlightAccountId.  Click Ok twice to get back to the Rules pane.
    If we didn’t do this and just queried the user profile service, it would load the data of the currently logged in user.  So we need to tell the form what user to load the data for.  We take the AccountID field from the people
    picker control and inject into the AccountName query field of the User Profile Service data connection. 
    Load the user profile service information for the chosen user
    Click the Add button next to “Run these actions:”, and choose Query for data.
    In the popup, for Data connection, click the one we created earlier – GetUserProfileByName and clickOk.
    We’re closing in on our goal.  Let’s see our progress.  We should see something like this:
    Now that we have the user’s data read into the form, we can populate the fields in the contact form.  The number of steps to complete will depend on how many fields you want to populate.  We need to add an action step for
    each field.  I’ll show you one example and then you will just repeat the steps for the other fields.  Let’s update the Job Title field.
    Populate the contact form fields with existing user’s data
    Click the Add button next to “Run these actions:”, and choose “Set a field’s value”.
    For Field, click the button on the right to load the select a field dialog.  Highlight the field Job Title.
    For Value, click the formula icon. On the formula screen, click the Insert Field or Group button.  Click the Show advanced view on the bottom. At the top, click the
    drop down and choose theGetUserProfileByName (Secondary) option.  Expand the fields all the way down until you see the Value field.  Highlight it but don’t click ok, but click the Filter
    Data button, then Add. 
    For the first dropdown that says Value, choose Select a field or group.   The value field will be highlighted, but click the field Name field
    under PropertyData.  Click Ok. 
    In the blank field after “is equal to”, click in the box and choose Type text.  Then type the text Title. 
    Click ok until you get back to the Manage Rules pane.  The last previous screen will look like this.
    We’re going to update common fields that are in the user’s profile, and likely from Active Directory.  You can update fields like first and last name, company, mobile and work phone number, etc.  For the other fields, the
    steps are the same except the Field you choose to update from the form, and the very last step where you enter the text will change.  Here’s what the rules look like when we’re done:
    We’re all done, good work!  You can preview the form and try it now.  Click Ctrl+Shift+B to preview the form.  Once you’re satisfied, you can publish the form back to the library.  Click File –> Quick
    Publish.  Once it’s done, you will get confirmation:
    Now open your form in SharePoint.  From the contact list, click Add new item.  Type in a name, and click the button and watch the magic happen!

  • Confused with document life & account life

    I have a doubt regarding archiving
    I think in archiving projects especially for finance module
    there are lot of customization settings to be done form the functional side before Archiving , for example Document life ,Account life... etc
    I have a doubt weather those customization settings needs to be carried out by archiving consultant or
    the FI functional consultant?
    Can any one tell what is the difference between Secondary indexes and Archive Indexes in FI ?
    i am  really confused with the Archiving projects..... can any one help me
    Moderator message: not related to ABAP development, please post again in the appropriate SDN forum, always search for available information before asking.
    locked by: Thomas Zloch on Sep 23, 2010 11:41 AM

    Patience is a virtue.
    Rob

  • Adding New fields

    hi all,
       I have a question, I want to add one new field in the std transaction code(ME21n). But you knw if you are using a screen exits or BADI's which is going to create a new screen, My client don't want to do that way. They want to add one new field in the same tab(subscreen) exactly below one particular field. How can I achieve this?
      Shall i get the access key to modify the particular screen and modifying the standard Program. Does SAP allows this?(Here i have a small doubt, we can customize upto some extent, what is that) And how does this standard program will behave when upgrading the system.

    Hi
    That enhancement offers the same opportunities of the BADI, you can use it instead of the BADI.
    All validations will be done only if the user goes to new tab, if I understand the problem, the client wants to place the new fields in the main tabs in order not to forget  to insert the value in the new fields.
    If it uses a new tab and the user doesn't go there, it can raise an error only while document is being saved or checked so at the end: Feddie client doesn't want it does it?
    I believe Feddie can change only the std program in this case.
    Max

  • How to edit personalize link on desktop

    Hi Experts,
      I have a doubt in desktop customization,can any one tell how to edit the personalize link or remove that personalize link and i also want to know how to add some custom link beside this personalize link.
    Regards
    Rahul

    Hi Rahul,
    Remove the role eu_role assigned to you so as to remove the Personalize link.
    To Add a custom link besides personalize, see the thread
    How to add or remove link in Portal Masthead
    Hope this helps,
    Nikhil

  • Customize infopath error message for sharepoint list

    Hi Everyone,
    Is there anyway of replacing the written content in the generic "InfoPath Error Message Dialog"?
    I
    would like to replace the written content with something that is more specific
    and relevant to my form

    Hi,
    I would advice you to create data validation rule and display error message as per your requirement instead of using required fields
    here are some links for your reference-
    http://blog.parkercomp.com/2009/05/how-to-customize-infopath-error-dialogs.html
    http://support.microsoft.com/kb/822032/en-us
    http://www.bizsupportonline.net/infopath2007/infopath-basics-3-ways-validate-data-infopath.htm 
    Hope this helps!
    Ram - SharePoint Architect
    Blog - SharePointDeveloper.in
    Please vote or mark your question answered, if my reply helps you

  • A Doubt on Customization

    Hi,
    I read the following in OAF dev guide
    Extension is extending the functionality of an aplication using
    - Adding new functional flows.
    - Extending or overriding existing functional flows.
    - Extending or overriding existing business logic.
    I understand that Extending or overriding existing business logic is editing eithet AM,VO or VO etc ..in short BC4J objects.
    My questions is
    What does functional flow mean? Does it mean page flow?
    If yes Adding new functional flows OR Extending or overriding existing functional flows is nothing but creating a new Controller or editing the seeded ControllerImpl?
    Can you please clarify me on this doubt.
    Thanks,
    Gowtam.

    Function Flow means Various real world entities completing a business cycle like
    P2P Cycle (procure to pay).
    Technically functional flow, a number of pages can be participate but this is always true.
    So again "Adding new functional flows OR Extending or overriding functional flows " may required Development , customization, personalization , setups depending on business requirements.

  • SP2013 Customize Workflow Task Form with InfoPath 2013 - Unknown error occurred

    Hi everyone,
    After creating "Collect data from user" workflow using SharePoint designer, I need to customize the task form. But when I open the .xsn file (SharePoint generated), without editing anything (for testing purpose), and publish it, I got the message
    box: "An unknown error has occurred. The form template has been published to the server but it can only be opened in InfoPath Filler". I test the same scenario in SharePoint 2010, and it worked. It really annoys me.
    No exception in the log file, and no solution after much searching around.
    Please help.

    Hi john_d
     I got the solution to customize the Workflow task form. We cannot customize the workflow task form from InfoPath 2013, and if some how you are able to publish the task form it then when you publish your workflow then it your workflow will overwrite
    the default task form to your customized one.
    So the solution for it is that whatever fields you want to add to the task form you can just in "TASK FORM FIELDS" and it will display in your task form when you publish your workflow.

  • Viewer customization doubt

    Hai can anyone help me?
    I have lengthy report containing 1000s of Records in it..
    When i disply this report in viewer,i have to use horizontal scroll bar of IE to view the lengthy report,which will in turn display long page ofit.
    But,My requirement is,i want to display the length report in singe page itself..
    But plz somebody reply me for this query..its urgent.
    regards
    Chandra

    hai thanx for your reply.
    Actually my requirement is horizontal extension..
    because if i have 30columnes i cant compare the heading with column values..
    I know the row adjustment setting for vertical extension..but dont know how to set for horizontal extension
    plz somebody reply..its urgent

  • Backup of NWDI webdynpro customizations

    Is there a way to backup NWDI webdynpro customizations? I have a query.
    The webdynpro objects were customized and assembled, thereby creating many 5 KB files of ESS, MSS, PCUI etc. Because of the webdynpro customization, there are hundreds of broken DCs. So I would like to backup all these customizations (i.e. the SCAs files in assemble directory)  and the other webdynpro customizations into a seperate place and then proceed with installation of a new track right from scratch, then install the required SCAs and later re-apply those customizations. Is there any way to do it. Points will be rewarded for any kind of help.

    Hi Lekha
    Thank you
    I feel that i am in a right track, these are the steps i followed
    1. Downloaded SAPLink 1.0.4 version
    2. Created a report , activated and executed it
    3. Used the downloaded Nugget file as import parameter and executed successfully
    4. Downloaded SICF,Webdynpro Component,Application, plugins
    5. Imported the .nugg / .slnk files and activated then in SE24,
    6. Created a new NUGGET and added an object
         a. webdynpro component
         b. webdynpro application
    my doubt here is it is showing all the classes which i used in my program, do i need to manually import all the classes one by one or it will automatically import all the files which i used,
    if you have any idea which are the plugins to be used and which are all the objects need to be added to the Nugget.
    Thanks and Regards
    Chaitanya.A

  • Insert Print button on Infopath form for particular view

    Hello,
    I want to insert "Print" button on my InfoPath form, by clicking on it which can give print preview with print option.
    I am publishing my form through SharePoint Server into one form library.
    So unable to edit using site actions > Edit page.
    Could you please guide me how to it in simple way....not with customization.
    Thanking you in advance.
    Regards,
    Jayashri

    Hi Jayashri,
    I may not make myself clear. If we can get friendly print view of form, then we can use IE browser print option to print the form: IE gear settings > Print.
    If you need to seperate print button on form, you could edit form web parts > edit page then insert content editor web part with:
    <input onclick="window.print();" type="button" value="Print"/>
    Regards,
    Rebecca Tu
    TechNet Community Support
    Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
    [email protected]

Maybe you are looking for

  • Can't sync/update a 3GS without nuking its data first?

    I apologize in advance for a tech-supporty question, but I've looked all over the place and the information has been very conflicting, so I'm hoping you folks can advise me. I want to do an upgrade from 4.0 to 4.2 on my 3gs, so I plugged my phone int

  • How to run a c++ compiler on a 64 bit Windows 8.1 laptop?

    Respected sir, I am a student of 11th standard and learn computer science( C++ language). I bought  a 64 bit Windows 8.1 laptop for programming purpose. But I came to know that I can't use my laptop for this purpose as most of the C compilers (in my

  • Mass update of Vendor Bank Chain assignment details

    Hi Experts, I have a requirement to mass update Vendor Bank Chain  assignment details. I tried to use LSMW recording method for transaction FIBPU but it does not seems to be working if we have more than 2 bank keys for a vendor. Can you please let me

  • About Interface objects in Integration Repository

    Hi All,    I want to know details about Data type enhancements & Context objects in Interface Objects.Please help me. Thanks, GOPI.

  • Condition order in Custom MIRO

    Dear All I have create one Imported PO with all the conditions custom duty conditions. Now at the time of custom MIRO, the order of these 7 conditions are not comming as per the order of duties in PO. These are displaying in the alphabetical order of