How do you make and use a profile doc for address lists

Hi,

I want to make a document where a user can create/customize several “distribution lists” that can used on a different form when pressing an action button. I think this is what they call a profile document but not sure.

I hope this is enough to go on… Thanks, Paul

Subject: Look up Profile Docs in help

There is a good explanation of how you work with profile docs in the help file.

Subject: Thanks… but also hoping to…

Karl-Henry,

Thanks, I got it working for addresses but I was also hoping to be able to populate the choices of a dialog box with items defined in the profile document using formula language. Do you know how to do this? I tried the @Get command. I guess I don’t know how to create a field in the profile doc that can have several items defined in it. When I use the @get command, I only get the first line.

Thanks again, Paul

Subject: I do that all the time.

Here is code from one of my applications. It is used in a dropdown box, reading a list of values from the profile document and displaying them as the options for the dropdown box.

@GetProfileField(“Application Settings”;“SystemList”)

Make sure your field (‘SystemList’ in my example) on the profile document is multivalue text.

Subject: Ok, one last question

So, the only what I get this to work is to string the items in the profile document with a comma/space between them. This list can be long and is not very manageable. Is there a way that I can use a “Line Return”? When I try, I don’t see the line after the “Line Return”.

Thanks, Paul

Subject: Sure, that works too.

I do that as well. There are two settings for the multi value field. One is to set what character to use to separate the values, set that to NewLine (don’t forget to uncheck comma, semicolon, etc).The other one is what character to use to separate the multiple values by, set this to NewLine as well.

Subject: Sweet!!!

Nice, I never noticed that option!!!

So much to learn…

Thanks and Take care, Paul

Subject: Perfect, Thanks!

Perfect!!! I actually had tried this but used the carriage return instead of commas to separate.

Thanks so much, Paul