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,
});
Turns into this:
But i want to keep my name set in the editor (ADF...)
Does anyone had the same issue?