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!
|
|
NameEdit popup form
Posted: 22 Apr 07 7:35 PM
|
fiogf49gjkf0d Anyone know how the ootb control nedContact on the ContactDetail form "knows" to open the ootb NameEdit form when the ellipsis button is clicked? I can't seem to figure out how they're associated with each other (though its probably quite obvious...). Thanks. |
|
|
|
Re: NameEdit popup form
Posted: 22 Apr 07 8:02 PM
|
fiogf49gjkf0d It's a NameEdit control, so I'm guessing that it's a hard-coded bind to the NameEdit form.
As you've probably just found out, there don't appear to be any visible .EditForm or similar properties to allow you to read/modify the associated form. |
|
|
|
Re: NameEdit popup form
Posted: 22 Apr 07 8:49 PM
|
fiogf49gjkf0d Indeed, Phil, hard-coding seems to be how they're associated. But I have something rather odd happening in a SLX db. The _only_ instance of NameEdit, when opened in Architect, has the word "Prefix" as the caption adjacent to the Prefix picklist. That NameEdit is released to Everyone. However, when the ellipsis is clicked on in the Client, a form loads that is slightly different - instead of "Prefix", the word "Title" is the caption. I'm guessing that its a Legacy form that is trumping the non-Legacy NameEdit form, but where is it!?! I can't find any other instance of NameEdit (or anything similar) from the Plugins listing, Legacy or otherwise. |
|
|
|
Re: NameEdit popup form
Posted: 22 Apr 07 9:07 PM
|
fiogf49gjkf0d I see what you're up against. I tried modifying the NameEdit form and my mods do not appear in the SLX client. Therefore, I suspect that the NameEdit form, as associated with the TNameEdit control, is completely hard-coded and that the NameEdit form, as can be viewed in Architect, is a red herring in this case.
So you might have to roll your own ... and you thought it was just going to be a 15-minute tweak |
|
|
|
Re: NameEdit popup form
Posted: 23 Apr 07 8:24 AM
|
fiogf49gjkf0d Yep, guess I can stop looking for the "real" form since it doesn't seem to exist. Now I'll have to ponder whether its worth it to create a custom popup form simply to alter the label... |
|
|
|
Re: NameEdit popup form
Posted: 24 Jul 07 11:55 AM
|
Facing a similar problem. My users want to be able to select more than one Suffix. I thought enabling "multiple item selection" in Suffix picklist will do the trick. So I guess I cannot add controls to that form as well? Hm... |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 1:28 AM
|
What I do is this :
(a) Use DBMgr to expand Suffix (b) Open the Insert and detail forms and add a new picklist and bind it to suffix - next to the name (c) Make Suffix picklist m/select and then use that plist on those forms
Gives you complete control then. |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 8:58 AM
|
Mike
By "expand Suffix" do you mean "delete the existing field and create a new one that is 255 characters in size" ? |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 8:59 AM
|
The return value of a multi select pick list is comma separated in the either the sort order or alphabetical order. This returns the wrong results. For example, a pastor's title with a doctorate is Rev. Dr. The multi-select lists it as Dr., Rev. I added Rev. Dr. to the PrefixList property for the nedContact control, but it does not appear in the pick list of the control and it still parses incorrectly. It put Rev. as the title, Dr. as the first name, FN as MN and so on. I added Rev. Dr. to the SalesLogix NamePrefix pick list and it parsed correctly, even after removing it from the Prefix List property of the control. |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 9:01 AM
|
No, unsecure the table - you will then be able to expand the field from 16(?) to a larger value. |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 9:03 AM
|
Sorry, you remove entirely the Suffix piece from nedContact (it won't show it, and the user shouldn't edit it there) as it will now show on the form separately anyway. |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 9:19 AM
|
SLX NAMEEDIT doesn't like all of those comma's in the multi select picklist....and you don't have complete control over this stuff Mike. Are you saying take out the databinding to Suffix in nedCONTACT? and then hope the user doesn't hit F2 or the ellipsis button to invoke a data bound Suffix field somewhere else?
Don't forget to play with Insert New Contact Account form as well, including it's script.
Ouch. |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 9:23 AM
|
Yup, that's exactly what I said on previous post ! The "hope" is distinctly better than nothing at all at the end of the day. And, yup, mentioned both forms too. |
|
|
|
Re: NameEdit popup form
Posted: 25 Jul 07 9:44 AM
|
Alright, here comes the dumb question: How do I "Unsecure" the table? |
|
|
| |
|