In a Notes Application I have a (global) profile form (only one instance).
In this document there is a field containing different newsletters stored as a single string separated by commas.
On the other hand I have a form for customers.
Each customer can be nominated for some of these newsletters by a dialog list.
The code behind the choices:
@Explode(@GetProfileField( "Profile_form";"newsletter");",")
I want to build a view where each o´f the newsletters is a category containing the nominated customers.
I have actually no idea, how to do that. I’m quite new to Domino programming.
I tried to show the structure as follows:
---------- **Profile_form** --------------
(...)
newsletter = "Hardware, Software"
(...)
-------------------------------------------
(Only one instance!)
---------- **Customer_form** --------------------
name = John
lastname = Smith
company = Example Corporation
newsletter_nomination = [Hardware; Software]
-----------------------------------------------------
(one instance for each customer)
---------- **Newsletter_view** --------------------
Hardware
+---- John Smith Example Corporation
+---- Lucy Potter Another Corporation
Software
+---- John Smith Example Corporation
(...)
----------------------------------------------------- .
First of all it would be very helpful for me if you can tell me how to list each newsletter as an entry within my view. If I simply select “newsletter” by the field option no entries appears in my view.
I hope you can help me!
@GetProfileField does not work in Views.
From Notes Designer Help for @GetProfileField:
I am not sure if the customer profiles in your application are Notes Profile documents. If I understand you correctly, I think these should be regular documents and can be displayd in a view. If that assumption is correct you can create a view which displays the customer profiles with 4 columns:
Hope that helps.