Excel file loading in SSIS - ssis-2012

I want to move the failed excel files to error folder and loaded excel files to archive folder in SSIS The excel file having multiple sheets and the folder contains multiple excel files.

You can use a File System Task for this:
https://learn.microsoft.com/en-us/sql/integration-services/control-flow/file-system-task
You would place this in your loop, and I'd set a success/failure (Boolean) variable to control the destination directory.

Related

Jenkins File Paramter - Excel File getting corrupted when using as input to File Parameter

I have a parameterized job, where by I upload an Excel worksheet.
This Excel worksheet is my input to a step where some automation will be done on the test data.
The excel file gets copied to the workspace in jenkins, but is getting corrupted because of which it is does not remain usable or accessbile.
Understood the root cause.
The workspace folder has a read only access. If we move this file to some other location outside of Jenkins workspace, the file is OK.
I got the workaround to access the file, I now only read the file instead of moving it.
Note :Even if I try to change the permissions of the folder, the same permissions again come back.

Get one or more files from Source Control Explorer into TEMP folder

I am working on VFP projects, but our source control is TFS. I would like to be able to get files from TFVC and redirect them from the workspace into the TEMP folder so I can easily use a 3rd party file compare utility against them. I can do this with Vault source control. Is there a way to get a file from TFS source control and put it into the TEMP (or any other folder) without creating the project folder structure (making a new Workspace pointing to the temp folder creates the folder structure)?
There isn't the build-in feature to redirect files into other folders.
You can create a new workspace and add mappings to the corresponding folders, then switch workspace that you want and get files.
If you want the different folder structure, you can map the corresponding server folders to different folders. More information, you can refer to Optimize your workspace.
There is a ...%TMP%\TFSTemp folder concept in TFS. However it's only used for files that you view.
For example: If you view the history of a file in TFS you can view
any version you want. Simply right click on an older version and
select view from the context menu. Hover over the tab in Visual Studio
and you will see the file was downloaded to the TFSTemp folder. That
file is not check out or download to you and you are just viewing
that file.
It's not used for storing TFS version control files.

TFS - not able to download files

In our project solution we done the changes in 5 files (only content change) and the change set number is NNNNN, we want to download those 5 files only. We can get entire solution files upto this change set. Due to content change we want those files only instead of getting all other files like dll or *.CS files.
In other source control the view history displays the affected files, there is a provision to export those files into folder rather than entire solution.
You could write a little PowerShell/.Net code to do this or you can use the TFS Power Tools. There is a command line tfpt.exe and you can use the getcs flag
tfpt getcs /changeset:12
There is a decent write up of the process here

How to batch print folders of MS Office documents?

We have workers’ reports that are kept in folders. Mostly the files are saved as Word and Excel documents. I need to print them for each business meeting and have to open each folder individually. I wonder if there is a possibility to simplify the process.
Specifically for bulk printing there exists the software called Print Conductor. Here is the description of the files it works with: http://www.print-conductor.com/articles/print-documents.html. You will need to specify the folders, and the program will drag the files from there creating lists of files for printing. Then you will be able to print them all at once.

Microsoft test result in Excel format

Is there any tool exist that transfroms trx file into Excel format?
I am looking for something that will automate unit test result publishing at the time of test suite execution (without requiring microsoft team server)
You can use http://trx2html.codeplex.com/ which provides an easy way to convert an rtx file into an html document.
If you just need the information about the test name and whether passed or failed, you could copy the columns from Test Results UI (in Visual Studio) and paste on excel.
I created a tool for this propose, the trx file will be converted to Excel 2010 format with useful information.
Pls try: https://youtu.be/G7VASkhim7I
Instructions
Download the Trx2Excel application from here and run the application.
Select the option: Get data from one file or from a folder.
Select the result file (for single file option) or result folder (for multiple files option).
Select the location and the saved file (the output file).
Click the Convert button.

Resources