Update Metadata of MPP File in C#

Update metadata information from all popular documents, images and multimedia file formats with the support of performing all most-needed metadata processing operations.

 Download Free Trial
HTML JPG PDF XML DOC
GroupDocs.Metadata for .NET
PDF
MPP

GroupDocs.Metadatafor .NET

About GroupDocs.Metadata for .NET API

GroupDocs.Metadata for .NET offers an advanced set of metadata management features, allowing developers to easily read, mpp, delete, find, compare, replace and export metadata information from images and document formats without using any external software. Use metadata manipulation API to edit metadata details from PDF, Microsoft Office Word, Excel spreadsheets, PowerPoint presentations, Outlook emails, OneNote, Visio, Project, AutoCAD, Archive and Multimedia file formats along with the support for working with many other metadata processing features.

Steps for Updating MPP Metadata in C#

GroupDocs.Metadata makes it easy for .NET developers to edit and edit metadata information from MPP files from within their applications by implementing a few easy steps.

  • Load MPP file via an instance of Metadata class.
  • Specify a predicate that will be used to filter desired metadata properties.
  • Pass the predicate and the new value to the UpdateProperties method.
  • Save the changes to disc in MPP format.

System Requirements

GroupDocs.Metadata for .NET APIs are supported on all major platforms and operating systems. Before executing the code below, please make sure that you have the following prerequisites installled on your system.

  • Operating Systems: Microsoft Windows, Linux, MacOS
  • Development Environments: Visual Studio, Xamarin, MonoDevelop
  • Frameworks: .NET Framework, .NET Standard, .NET Core, Mono
  • Download the latest version of GroupDocs.Metadata for .NET from Nuget
 

C# code snippet to edit metadata

using (var metadata = new GroupDocs.Metadata.Metadata("input.mpp"))
{
	// set the value of each property that satisfies the predicate:
	// property contains the date/time the document was created
	// update the file creation date/time if the existing value is older than 3 days
	var affected = metadata.UpdateProperties(
		p => p.Tags.Contains(GroupDocs.Metadata.Tagging.Tags.Time.Created) &&
		p.Value.Type == GroupDocs.Metadata.Common.MetadataPropertyType.DateTime &&
		p.Value.ToStruct() < DateTime.Today.AddDays(-3), new GroupDocs.Metadata.Common.PropertyValue(DateTime.Today));
	Console.WriteLine("Properties set: {0}", affected);
	metadata.Save("output.mpp");
}

Live Demos to Update Metadata

Update metadata information of MPP file right now by visiting GroupDocs.Metadata Live Demos website.
The live demo has the following benefits

  No need to download GroupDocs API.
  No need to write any code.
  Upload the file to get metadata information of MPP.
  Get the download link to save the file on your machine.
 
 

mppAbout MPP File Format

A file with MPP extension is Microsoft Project data file that stores information related to project management in an integrated manner. It is proprietary file format developed by Microsoft as file format for Microsoft Project (MSP) which is a project management application software. Besides MPP, MSP supports other file formats as well like project XML schema. Several APIs and applications provide the facility to convert MPP file format to others. Microsoft now has online Project Server where project management files can be uploaded for collaboration by multiple users.

Read More

Updating Metadata Properties From Other File Formats

Multi format documents and images metadata editing API for .NET. Modify metadata of some of the popular file formats as stated below.

Update PDF Metadata (Adobe Portable Document Format)
Update DOC Metadata (Microsoft Word Document)
Update DOCM Metadata (Microsoft Word Macro-Enabled Document)
Update DOCX Metadata (Microsoft Word Open XML Document)
Update DOT Metadata (Microsoft Word Document Template)
Update DOTX Metadata (Word Open XML Document Template)
Update XLS Metadata (Microsoft Excel Binary File Format)
Update XLSX Metadata (Microsoft Excel Open XML Spreadsheet)
Update XLSM Metadata (Microsoft Excel Macro-Enabled Spreadsheet)
Update XLTM Metadata (OOXML Macro Enabled Workbook Template)
Update PPT Metadata (PowerPoint Presentation)
Update PPS Metadata (Microsoft PowerPoint Slide Show)
Update PPTX Metadata (PowerPoint Open XML Presentation)
Update PPSX Metadata (PowerPoint Open XML Slide Show)
Update POTX Metadata (Microsoft PowerPoint Open XML Template)
Update POTM Metadata (Microsoft PowerPoint Template)
Update PPTM Metadata (Microsoft PowerPoint Presentation)
Update PPSM Metadata (Microsoft PowerPoint Slide Show)
Update ODS Metadata (Open Document Spreadsheet)
Update ODT Metadata (Open Document Text)
Update TIFF Metadata (Tagged Image File Format)
Update PNG Metadata (Portable Network Graphic)
Update GIF Metadata (Graphical Interchange Format File)
Update BMP Metadata (Bitmap File Format)
Update JP2 Metadata (JPEG 2000 Core Image File)
Update WEBP Metadata (Raster Web Image File Format)
Update PSD Metadata (Adobe Photoshop Document)
Update WMF Metadata (Windows Metafile)
Update EMF Metadata (Enhanced Metafile Format)
Update MPP Metadata (Microsoft Project Document)
Update MSG Metadata (Microsoft Outlook E-mail Message)
Update EML Metadata (E-mail Message)
Update DWG Metadata (Autodesk Design Data Formats)
Update DXF Metadata (AutoCAD Drawing Interchange)
Update ONE Metadata (Microsoft OneNote)
Update MP3 Metadata (MPEG Audio Layer III)
Update WAV Metadata (Waveform Audio File Format)
Update DICOM Metadata (Digital Imaging & Comm in Medicine)
Update AVI Metadata (Audio Video Interleave File)
Update VSD Metadata (Microsoft Visio 2003-2010 Drawing)
Update VSDX Metadata (Microsoft Visio Drawing)
Update VSS Metadata (Microsoft Visio 2003-2010 Stencil)
Update VDX Metadata (Microsoft Visio 2003-2010 XML Drawing)
Update VSX Metadata (Microsoft Visio 2003-2010 XML Stencil)
Update ZIP Metadata (Archive File Format)
Update EPUB Metadata (Digital E-Book File Format)
Update VCF Metadata (Electronic Business Card)