Content Selection Framework - Global opt out

This is Interesting: Free IT Magazines  
Home > Archive > Content Selection Framework > January 2005 > Global opt out





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author Global opt out
agindian

2005-01-03, 5:49 pm

HI,
How does commerce server identify the global opt out list..? Is it picked
up automatically, or should we configure it somewhere?

Thanks in advance


David Messner [MSFT]

2005-01-05, 5:53 pm

The answer can be found in opt-out.asp in the solution sites
(retail.pup/supplierapp.pup). Short answer - it has a well-defined name of
"Opt Out". You are responsible for creating it if it does not yet exist,
as in the code sample below taken from opt-out.asp:

' name of the site-wide opt-out list
const GLOBAL_OPTOUT_LIST_NAME = "Opt Out"

Function CreateOptOutList(listmanager, campitem_id)
dim sListName, sListDescription, lFlags

g_OperatorMessage =
mscsMessageManager.GetMessage("L_CreateList_ErrorMessage", sLanguage)
if (campitem_id <> "") then
sListName = OPT_OUT_NAME & " (" & campitem_id & ")"
sListDescription =
mscsMessageManager.GetMessage("L_ListDescription_Message", sLanguage) &
campitem_id
else
sListName = GLOBAL_OPTOUT_LIST_NAME
sListDescription =
mscsMessageManager.GetMessage("L_GlobalOptoutListDescription_Message",
sLanguage)
end if

lFlags = LM_FLAG_DEFAULT + LM_FLAG_OPTOUT

CreateOptOutList = listmanager.CreateEmpty(sListName, sListDescription,
lFlags, 0)
End Function

regards
-djm

--
This posting is provided "AS IS" with no warranties, and confers no rights.
You assume all risk for your use. © 2005 Microsoft Corporation. All rights
reserved.

--------------------
From: "agindian" <aniltom01@yahoo.com>
Newsgroups: microsoft.public.commerceserver.campaigns_csf
Subject: Global opt out
Date: Mon, 03 Jan 2005 10:31:15 -0500
Organization: www.talkaboutsoftware.com
Message-ID:
< 98cc45fa491e5c83e5cb4313990e02cf@localho
st.talkaboutsoftware.com>
X-Newsreader: www.talkaboutsoftware.com
Content-Type: text/plain;
X-Complaints-To: abuse@supernews.com
Lines: 7
Path:
cpmsftngxa10.phx.gbl!TK2MSFTNGXA03.phx.gbl!TK2MSFTNGP08.phx.gbl!newsfeed00.s
ul.t-online.de!t-online.de!news.glorb.com!sn-xit-04!sn-xit-06!sn-post-01!sup
ernews.com!corp.supernews.com!not-for-mail
Xref: cpmsftngxa10.phx.gbl
microsoft.public.commerceserver.campaigns_csf:2958
X-Tomcat-NG: microsoft.public.commerceserver.campaigns_csf

HI,
How does commerce server identify the global opt out list..? Is it picked
up automatically, or should we configure it somewhere?

Thanks in advance



Sreeku_2002

2005-01-06, 5:53 pm

thank you very much for the anwser david

regards,
Sreeku

Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com