Page 1 of 1

PDF Export Acro Fields set name

Posted: Thu Mar 02, 2023 2:01 pm
by dominikz
Hey,

im trying to export my report with some textfields as acro fields in pdf wihtin a asp.net core environment.
Each of my textfields has set a name / alias / global name, but when the pdf is exported, the field names look like auto generated (Field0, Field1, Field2).

I tried to set some settings like this:

Code: Select all

// Render report and catch output
var rendered = await context.Report.RenderAsync();
var export = new MemoryStream();
StiOptions.Export.Pdf.UseEditableFieldName = true;
StiOptions.Export.Pdf.UseEditableFieldAlias = true;
StiOptions.Export.Pdf.UseEditableFieldTag = true;
await rendered.ExportDocumentAsync(request.OutputFormat, export, new StiPdfExportSettings()
{
	AllowEditable = StiPdfAllowEditable.Yes,
});
So this:
Image

Turns into this:
Image

But i want to keep my name set in the editor (ADF...)
Does anyone had the same issue?

Re: PDF Export Acro Fields set name

Posted: Mon Mar 06, 2023 9:27 pm
by Lech Kulikowski
Hello,

Please try to set the name in the Tag (Interaction) property.

Thank you.