Skip to main content

Added custom field shows as unresolved reference. The downloaded report XML shows custom filed with correct data. Uploaded / downloaded modified layout successfully. Preview offline and online does not show modification (added custom field). Any ideas? thanks

Added custom field shows as unresolved reference. The downloaded report XML shows custom filed with correct data. Uploaded / downloaded modified layout successfully. Preview offline and online does not show modification (added custom field). Any ideas? thanks

@james.cunningham 

try to get download the Report data file from  Print manager and see. I had the same issue when exporting the xml file through report archive but when do the same from print manager it worked for me.

 

kind Regards !

Niyomal.


Thanks for the suggestions, Niyomal. I exported data XML from the Printer archive and the content seems identical to Report Archive. The local run using the downloaded data XML and the online run both seem to bypass the modified layout and preview the old layout. I downloaded the XSD but did not upload one as I don’t know how to generate a new one. Also, I imported a modified layout and checked ‘In Use’ box but it does not use the new RDL. Both RDL’s have Layout Type value set as ‘Report Designer’.


Thanks for the suggestions, Niyomal. I exported data XML from the Printer archive and the content seems identical to Report Archive. The local run using the downloaded data XML and the online run both seem to bypass the modified layout and preview the old layout. I downloaded the XSD but did not upload one as I don’t know how to generate a new one. Also, I imported a modified layout and checked ‘In Use’ box but it does not use the new RDL. Both RDL’s have Layout Type value set as ‘Report Designer’.

@james.cunningham  did you run the report cheche refresh before exporting the XSD file ?. when  having the custom fields in report what I normally do is as below.

  1. create the custom field (with used in report enabled) then publish it in the application,
  2. in the report definition I'll make sure to check the report has use custom filed toggle enabled
  3. then run a report cache refresh
  4. export both existing layout and XSD files into a same folder
  5. Run the report from front end and export the xml data file from the print manager 
  6. then open the report designer and load the layout 
  7. add the custom field and run the report offline from  report designer using the exported data file  .

Kind Regards!

Niyomal.


Thanks again Niyomal. I confirmed / repeated each step above, but the modified layout does not render offline (or online). The XSD downloaded matches one downloaded a couple days ago (so no change in it). The Report Def has a Layout Order column. I changed the numbers so the modified layout now sorts to the top but no change in the output.


Thanks again Niyomal. I confirmed / repeated each step above, but the modified layout does not render offline (or online). The XSD downloaded matches one downloaded a couple days ago (so no change in it). The Report Def has a Layout Order column. I changed the numbers so the modified layout now sorts to the top but no change in the output.

@james.cunningham  if its possible, can you  attach the rdl, xds and xml file here ? i’ll try to help you. if you can attached the ACP FOR  custom field as well :)


Hi Niyomal, 

After review, we noticed the field was added to a test case that didn’t return data to the block. When we moved to a different block, the data returned. Thanks for suggestions.


Hi Niyomal, 

After review, we noticed the field was added to a test case that didn’t return data to the block. When we moved to a different block, the data returned. Thanks for suggestions.

@james.cunningham  awesome, Glad you found issue.

 

Kind Regards!

Niyomal.


Reply