Skip to main content
July 28, 2021
Question

record type using transient value

  • July 28, 2021
  • 3 replies
  • 0 views

Hi,

when I am creating the record type using an entity that contains transient value it's throwing an error.

ERROR: "Preview currently unavailable due to an error on the source"

I have checked the data source multiple times by doing save and publish and the data source not showing any error, it is successfully publishing. can anyone please help me with this error

...

    3 replies

    selvakumark
    July 28, 2021

    Hi [mention:cb55bee857194035a126a4b134ac0e8f:e9ed411860ed4f2ba0265705b8793d05],

    As mentioned in one of our discussions earlier, if a CDT has a transient field, then while querying data from the database we should use the selection parameters. Since the record type cannot select the columns by default, it might be throwing the error.

    As a workaround, you can create another CDT without the transient value, map it to the datastore(same table mapping) and use that entity to create the record.

    August 3, 2021

    thank you its working

    December 7, 2022

    We have a similar error in my Record, throwing an error saying "Preview currently unavailable due to an error on the source"

    We don't have any transient fields but still it is showing this error. Can you please suggest possible troubleshoot methods. My record source is DS entity of a CDT from view.