Anyone know how to find a custom entry form by its...
# suitescript
c
Anyone know how to find a custom entry form by its script ID?
a
that's all you have? you don't know what record type it is? where are you even getting a form script id?
c
Copy code
<entryform>[scriptid=custform_292_9616950_367]</entryform>
From SDF import objects
a
you have the xml of the form? its referenced on some other xml? and giving you an error on validate/deploy?
so you're not trying to find it specifically with suitescript? you're literally just trying to find however you possibly can?
c
Pretty much that, I pulled a saved CSV import job and that form is referenced in the XML
a
k well the CSV import should be of a specific record type, right?
c
Yes
a
its a custom record?
c
It is
and the custom record exists in the target account.
a
but not the form?
c
I don't even know what form it's talking about
a
do you have access to the source account?
c
yes
Does the custom record have a form?
a
yes all custom records have forms
c
It's that the
*then
Can't SDF just pull that along with the CSV import?
a
generally when custom record is migrated the form would come too though
c
Get all dependencies or something?
a
how was stuff migrated? via SDF?
and how recently?
c
I think it was created by hand in one SB then SDF migrated to prod
probably a month ago
a
but the custom record object in prod doesn't have a form associated with it?
c
I'll have to check that, I assume it must do
a
i guess either get the script id of the form in prod and update your import xml to reference that form instead
or in the UI I think you can use change ID button on the form in edit mode to update the script id to the one that already set in your import
i guess depends if there's any other references to it
i can't fathom how this would have happened though, if you migrated the custom record and the import from SBX to PROD the form would have been a dependency and the deployment would have failed if the form wasn't included
j
It’s like trying to find a workflow from the scriptid. Nigh on impossible, I’ve started dumping the scriptid into the beginning of the Description for WFs.