The Forums on slxdeveloper.com are now retired. The forum archive will remain available for the time being. Thank you for your participation on slxdeveloper.com!
|
|
New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:32 PM
|
I opened insertcontact.ascx and added a custom field that already exists (and works perfectly) on AccountDetails. It also works perfectly on InsertAccount but I want to add it to InsertContact for consistency.
Well, after snipping, mangling and placing my code in the correct spot in the InsertContact.ascx file I built and deployed the SLX client per usual.
Now, when I go to the InsertContactAccount.aspx screen I get:
"The resource object with key 'pklnrcAccountType.Caption' was not found."
Obviously I'm missing something. I poked around a few .resx files but didn't find anything that seemd to make sense....
So, what piece am I missing to get this to work correctly?
|
|
|
| |
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:40 PM
|
EG you will need the equivalent for your caption ID:
| | Account Information |
The vlaue will be what you want it to say....
In the resx file along with all the others. The field you have added to the screen is looking for a resource in the resx with the exact same ID - obviously you have added the field manually to the screen so this will not update the resx.... |
|
|
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:41 PM
|
Originally posted by Nick Hollis
EG you will need the equivalent for your caption ID:
| | Account Information |
The vlaue will be what you want it to say....
In the resx file along with all the others. The field you have added to the screen is looking for a resource in the resx with the exact same ID - obviously you have added the field manually to the screen so this will not update the resx.... |
|
|
|
|
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:41 PM
|
Originally posted by Nick Hollis
EG you will need the equivalent for your caption ID:
| | Account Information |
The vlaue will be what you want it to say....
In the resx file along with all the others. The field you have added to the screen is looking for a resource in the resx with the exact same ID - obviously you have added the field manually to the screen so this will not update the resx.... |
|
|
|
|
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:41 PM
|
Originally posted by Nick Hollis
EG you will need the equivalent for your caption ID:
| | Account Information |
The vlaue will be what you want it to say....
In the resx file along with all the others. The field you have added to the screen is looking for a resource in the resx with the exact same ID - obviously you have added the field manually to the screen so this will not update the resx.... |
|
|
|
|
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:41 PM
|
Originally posted by Nick Hollis
EG you will need the equivalent for your caption ID:
| | Account Information |
The vlaue will be what you want it to say....
In the resx file along with all the others. The field you have added to the screen is looking for a resource in the resx with the exact same ID - obviously you have added the field manually to the screen so this will not update the resx.... |
|
|
|
|
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:41 PM
|
Originally posted by Nick Hollis
EG you will need the equivalent for your caption ID:
| | Account Information |
The vlaue will be what you want it to say....
In the resx file along with all the others. The field you have added to the screen is looking for a resource in the resx with the exact same ID - obviously you have added the field manually to the screen so this will not update the resx.... |
|
|
|
|
| |
| |
|
Re: New custom field on InsertContactAccount.aspx getting resource not found error...
Posted: 28 Oct 08 12:44 PM
|
Originally posted by Byrnes
That's what I was thinking but I'm not finding anything that corresponds to the current - out of the box - fields in InsertContactAccount.resx under localResources.
Are they under global, local, or somewhere else? Is this even the correct .resx file?
|
|
Its this one I think:
C:\Inetpub\wwwroot\SlxClient\App_LocalResources (or wherever your build path is). There is a resx in here with exactly the same name as your ascx. |
|
|
| |
| |
| |
| |
|