I saw a couple of older posts from a few years back that explained how to set up fill.fc on format control to auto-populate fields. I am trying to get contacts to have the city, state, zip info to live on the contact record and not just be displayed through a virtual form. (This is what I've been asked to do by the powers that be)
I created new fields in the contacts dbdict called fcb.city, fcb.state, fcb.zip.
I have edited the contacts link record. OOB it had 4 lines for location. I added fcb.city to all 4 lines (if I don't I get more errors). (Once I get city working, I will go back and add fcb.state and fcb.zip to the link.
I have created the fill.fc subroutine on the contacts format control. I have set Add, Update, and Before to true. the application field is set to fill.fc. under paramters I have
record = $file
text = fcb.city
string1 = contacts
When I go into a contact, if I change their location and click the fill button, then the city info pulls in. But when I click on Save I get "No link exists for this field, fill function cannot be performed." If I do a mass update on a list of contacts, I get the same message and nothing updates. I need this info to populate automatically. Every night we pull this info in from the source via WSDL and I would need any net new changes to auto populate. Clicking the fill button on each record is not feasiable.