Free Support Forum - aspose.com

Need API To Get & Set CustomXmlPart ID

Although Cells provides the ability to iterate and add CustomXmlParts via the CustomXmlPartCollection - it would be helpful if there was an API which exposed the CustomXmlPart ID.

We’re dealing with workbooks that have multiple CustomXmlParts and we need to find a specific CustomXmlPart. Essentially, we need to parse and examine all the CustomXmlParts in the workbook in order to find the CustomXmlPart we’re looking for. This could be an expensive operation.

Ideally, we would like a new API on the CustomXmlPart class that allows us to get and set its ID. Additionally, we would require a new API in the CustomXmlPartCollection that gets a CustomXmlPart based on its ID. These new APIs would be similar to the getId and setId APIs provided by Aspose Words for their CustomXmlPart class and getById in the CustomXmlPartCollection class.

Also note that Excel VBA provides a means to get a CustomXmlPart via the SelectByID API.

Thank you.

@oraspose

Thanks for using Aspose APIs.

We have logged your requirement in our database as New Feature request as follows.

  • CELLSNET-46130 - Need API To Get & Set CustomXmlPart ID

@oraspose

Thanks for using Aspose APIs.

This is to inform you that we have fixed your issue CELLSNET-46130 now. We will soon provide the fix after performing QA and including other enhancements and fixes.

@oraspose,

Please try our latest hotfix/version: Aspose.Cells for .NET v18.5.1, it should fix your issue:

Let us know your feedback.

Thank you Amjad.

Apologies, I should have mentioned that we require this feature for Aspose Cells for Java. Is there any way we can get this enhancement on the Cells’ Java API?

Thanks again.

@oraspose

Please download and try the following (Java) fix and let us know your feedback.

The issues you have found earlier (filed as CELLSNET-46130) have been fixed in Aspose.Cells for .NET 18.6. Please also check the document/article for your reference: https://docs.aspose.com/display/cellsnet/Installation