We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy.
Unfortunately, activation email could not send to your email. Please try again.

DocIO Merge Fields and IF statement

Thread ID:

Created:

Updated:

Platform:

Replies:

130406 May 11,2017 04:07 AM May 18,2017 01:24 AM Xamarin.Android 3
loading
Tags: DocIO
Benjamin
Asked On May 11, 2017 04:07 AM


Hello,

I'm trying to implement an IF statement in a Word document but it doesn't seems to work.

I tried many format for the IF statement but  none ot them work.

I attached a simple test project, with a readme.

Can DocIO for Android support IF statement (nothing in the documentation says the contrary).

Another question : How can i display a Word document in my own application with Xamarin.Android ?
Is there a Word viewer ? Can i convert Word document to HTML in Xamarin.Android ?

Thanks in advance for your help,

Best regards,

Benjamin
Attachment: TestSyncfusionDocIO_2_238a0b94.zip

Sethumanikkam Yogendran [Syncfusion]
Replied On May 12, 2017 06:03 AM

Hi Benjamin

Thank you for contacting Syncfusion support.

Can DocIO for Android support IF statement (nothing in the documentation says the contrary).
Yes, DocIO supports IF statement in Word document, as well as supports to update IF statements (fields) in the Word document using UpdateDocumentFields API . Please refer below UG links to know more about working with IF field and fields updation.
Working with IF field
Updating fields

On further analyzing with the given details, IF statements are not updated after Mail merge performed. Kindly use UpdateDocumentFields API to get the updated result of IF statement.

How can i display a Word document in my own application with Xamarin.Android ?
Is there a Word viewer ? Can i convert Word document to HTML in Xamarin.Android?

Currently DocIO doesn’t have Word document viewer in the Xamarin platform. However, we have added it to our feature request list and we don’t have any immediate plans to implement this feature. It may be implemented in any of our future releases.

But DocIO supports viewing the generated Word document as HTML in Xamarin. We have prepared the sample to meet your requirement, as a work around and attached the same for your reference. Try running the sample and let us know whether it helps you.

Sample link

Note: Please refer the DocIO code snippets in the “WordToHTML.cs” file and WebView codes in “WebViewActivity.cs” file from “\Samples\DocIO” folder inside the sample.

Please let us know if you have any other questions.

Regards,
Sethumanikkam.Y


Benjamin
Replied On May 16, 2017 05:49 AM

Hello,

Thanks for your help.

Our problems are solved, thanks again.

Best regards,

Benjamin

Sethumanikkam Yogendran [Syncfusion]
Replied On May 18, 2017 01:24 AM

Hi Benjamin,

Thank you for your update.

We are glad to know that your issue has been fixed.

Please let us know if you need any further assistance. We are happy to assist you as always.

Regards,
Sethumanikkam.Y


CONFIRMATION

This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.

;