I have a use case to create an attachment detail using the custom object in the Pre-Config page. I have created a object having Parent Object as (File).
I have created a detail inside the preconfig Page,
But I couldn't see the detail as attachment in UI rather I could see it as an normal detail,
I have updated the parent page of the Detail schema to FileDetailV2, Even though I am unable to see the attachment changes in UI.
So, I have changed the entity schema name directly in the code as "FileDetailV2",
Now I am able to see the attachment in UI. But having error in the console. This error comes on opening of the page as well as trying to delete any attachment.
Also, In the designed it shows the detial as Unregistered as shown below.
Could anyone help where I have went wrong, how to resolve this issue and create a attachment detail with custom object ?