Hi
I have a fillable form in MS word that is in standard format, In that I want to fill the form by UiPath studio, which activities I want use or install any other packages for this task.
Use “Replace Text in Document” activity under Word Application Scope.
It replaces the words with which you have.
Hope it helps!!
Regards,
You need to install the UiPath.word.activities package.
Use Word application scope
Use Replace text in doc activity.
Hope it helps!!
Hi,
- Install UiPath.Word.Activities Package: Ensure that you have the UiPath.Word.Activities package installed in UiPath Studio. This package provides various activities specifically designed for working with Word documents.
- Use the Word Application Scope Activity: Wrap your Word-related activities within a Word Application Scope activity. This activity establishes a connection to the Word application and allows you to perform operations on Word documents.
- Use the Read Text Activity: Use the Read Text activity from the UiPath.Word.Activities package to read the contents of the fillable form. This activity will extract the text from the Word document, which you can then manipulate and fill in the required fields.
- Use the Write Text Activity: Utilize the Write Text activity to fill in the form fields. You can provide the text that needs to be entered into each form field as input to this activity.
- Use the Save Document Activity: Finally, use the Save Document activity to save the filled-in form. Specify the desired file path to save the modified Word document.
Install the UiPath.word.activities to do the word automation.
Use the Replace text in document to replace the text in the document.
Hope it helps!!
No I have extract the input in respestive website & store it in variable
When you extract the text from website and store it an variable pass that variable in Replace Text in Document activity. It will write that particular text.
Regards,
Give that variable in the replace text in document activity to replace the specified text with your scraped website data which is stored in the variable. @Balaharish29
Hi,
Read the input excel and store it in datatable.
In manage package download word package:
Take for each row in datatable
Use word application scope ,Give the path of the word document
Use the replace text in document activity to place the data in the word
Use “save document as” and save the docx as using the unique name.
Use save “save document as pdf” to save the word file as pdf.
I hope this helps you
- Use “Use application/Browser” activity and open the website.
- Extract all the text one by one using “Get Text” activity and store each in an separate variable.
- Use Word Application Scope and indicate the file.
- Use “Replace Text in Document” activity and specify each variable to the place where you want to write the extracted text.
- Use “Save Document As” activity to save the word file. Remove Replace Existing option so that it creates an new file.
Hope it helps!!
Regards,
This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.