Showing posts with label Configuration. Show all posts
Showing posts with label Configuration. Show all posts

Monday, November 24, 2014

Integrating Siebel with Fax server:

Hi Readers, here is an interesting topic which will be helpful to many of you at least in future :)

The objective of this post is to describe the steps involved in integrating Siebel Application with Fax Server to send the Fax messages to the customer when a Fax Campaign is launched in Siebel.

1.   Requirement overview :  In this scenario, we need to install the following

  1. Siebel eCommunications– Used by the internal employees to launch the campaigns.
  1. Microsoft Exchange Server – Used to receive the fax message in the form of the Email to a dedicated email address of the MS Exchange. The format of the Email Address is Fax Number + Domain.
  2. Faxination Server – Faxination Server connects to email box on MS exchange server and receives the email messages. It converts email message to Fax message and sends the fax to the customer through Fax server. 
  3. Fax Server – Used for delivering the Fax messages to the targeted recipient.
1.   Prerequisites:

The following prerequisites should be in place before starting to launch a Fax Campaign in Siebel application.
1.1.     Port Availability

Ä     SMTP Server - The SMTP Server listens on port 25 which is necessary to send an outbound email from Siebel to MS Exchange Server.

1.1.     Siebel Component

Ä  Communications Outbound Manager- Navigate to "Administration-Configuration -> Enterprises -> Component Groups" and query for "Communications Management" under component groups applet and then query for "Communications Outbound Manager" component under "Components" applet. This is the component which must be active and running.

 
1.1.     Configuring Communication Profile for Fax Outbound Interface:
      Create communication profile:
  • Login to application by entering Admin credentials
  • Navigate to Administration – Communications -> Communication Drivers and Profiles
  • Query “Internet SMTP/POP3 Server” and select Profile view
  • Create new profile in profile applet eg “Fax Notifications”.
  • For outbound communication create following parameter

    • From Address : Any Email Address (Generally it should be Siebel Email box Id )
    • SMTP Server: Name of the SMTP Server which will send the email
    • SMTP Server Port : Server Port Number eg : 25       
    • SMTP Account Name : SMTP Account Name 
    • SMTP Account Password : SMTP Account Password 
·         Click on "Menu" button on "Profiles" applet and click on "Submit Profile Changes"

1.1.     Configuring the Fax Address:

In order to have fax recipient information processed correctly by the MS Exchange server and to work with the email account which is used by the fax server, we must modify the configuration data in Siebel Tools.

In the Fax Address field of the Campaign Recipient Business Component change the calculated value to include the email address represented as follows

 IIF([Fax Phone #] IS NOT NULL, "'/fax="+ToChar([Active Fax #])+"/' <replace_me@replace.me.com>", "")

1.   Testing Fax Treatments:
For complete details on testing Fax Treatment one can go to Administration>Campaign Management>Campaign List > Design Tab

In the design tab select the Treatment with the Channel as Fax and select the Test Treatment Menu option.

A mail will be sent to the Email Address mentioned in the SMPT Account Name of the Communication Profile.


The various issues that can be faced during the launch of the Fax Campaign are listed below:

a) Mails not reaching the Exchange Server – The step “Send Offers / Vendor Lists” of the workflow “Marketing Wave Launch” is responsible for sending the mail to the exchange server on the launch of the Fax Campaign.  

Step 1: If no POP3 logs are generated then perform the following
i) Fetch the Workflow Process Manager log generated from the Marketing Wave Launch workflow and check the result of the below attached query.  If the number of rows fetched from the SQL is zero then please check the “Offer” BC. 

Send Offers Query:

SELECT /*+ ALL_ROWS */
      T4.CONFLICT_ID,
      T4.LAST_UPD,
      T4.CREATED,
      T4.LAST_UPD_BY,
      T4.CREATED_BY,
      T4.MODIFICATION_NUM,
      T4.ROW_ID,
      T4.CREATED_BY,
      T4.ACTIVE_INBND_FLG,
      T4.SAW_SERVER_ID,
      T4.APPR_STAT_CD,
      T4.MSG_SUBJ_TEXT,
      T4.COMM_METH_CD,
      T4.FOLDER_PATH,
      T4.NAME,
      T4.MKTG_OFFR_ID,
      T3.NAME,
      T4.PR_DEAL_ID,
      T4.BU_ID,
      T4.NEED_TO_SYNC_FLG,
      T4.OFFR_GROUP_CD,
      T4.RTD_STATUS_CD,
      T4.RECIP_BC_NAME,
      T4.CALL_LST_ID,
      T2.NAME,
      T4.MEDIA_TYPE_CD,
      T4.END_DT,
      T4.START_DT
   FROM
       SIEBEL.S_DCP_BU T1,
       SIEBEL.S_CALL_LST T2,
       SIEBEL.S_MKTG_OFFR T3,
       SIEBEL.S_DMND_CRTN_PRG T4
   WHERE
      T4.MKTG_OFFR_ID = T3.ROW_ID (+) AND
      T4.CALL_LST_ID = T2.ROW_ID (+) AND
      T1.BU_ID = :1 AND T4.ROW_ID = T1.DCP_ID AND
      (T4.MEDIA_TYPE_CD IS NOT NULL AND T4.COMM_METH_CD != :2) AND
      (T4.ROW_ID = :3)
   ORDER BY
      T4.NAME


The issue can also be due to the organization visibility as the vanilla functionality doesn’t support the sending of fax email messages for the Treatments that do not belong to the Default Organization. Therefore to correct this we would need to associate the Default organization to the Treatments automatically before launching the campaign. For further reference please refer to the SR: 3-5388559531.

ii) Check whether the Fax Treatment created has the Delivery Profile field populated

 Thats all the story guys,I hope this will be very useful document for integrating siebel with fax server,do post your feedback.

How to change the font,size,color of the field / control caption

Hi All,Sometimes we need to change the properties of siebel applet controls and below is the solution

Solution:

For the field for which we have to change the Font / Size / Color set the following HTML tags in the caption [string override] of the field properties.

1. "label style"
2. "span style"
3. "font face" & "color"
4. <b> & </b> to bold the text
5. font onmouseover & onmouseout
6. <br/> for line break in case of long captions

Examples:

<label style="background-color:red">fieldname</label>
<span style="background-color: red">fieldname</span>
<font face="fontname" size=26 color=yellow>fieldname</font>
<font onmouseover="style.color='green'" onmouseout="style.color='red'">fieldname or controlname</font>
field<br/>name<br/>is too long

Thursday, December 12, 2013

Authentication Business Service

Most people want security in this world. So whatever piece you design, Authentication becomes the key aspect. There are times when you want to authenticate whether the user-in-context is valid siebel user or not without actually logging into the system. This type of requirement is typical in Mobile Solutions using HTML5 and siebel webservices.

Here I unearth one more hidden gem of siebel, "Authentication Business Service". This magical service authenticates user against siebel irrespective of your security authentication mechanism. Be it database or LDAP it will return you valid siebel user name else invalid user/password error.The method is "Authenticate".  It accepts three input parameters:

1 - User Name - User Name to be authenticated in siebel
2 - Password - Password of the user
3 - GetPrivateCredentials - Y OR N based on the requirement.  If set to Y it will result user name in "Siebel User Name" output parameter.

One can see its usage in "LS Medical User Verification" workflow to get better feel of it. You can create web service based on this BS and can rest assured of your authentication approach. Hope it helps.

Happy Authentication!!

Tuesday, September 3, 2013

Multiple File Attachments

Necessity is mother of taking chances. In recent outrage by our business users, we were asked to provide option of selecting multiple file attachments. Unfortunately siebel doesn't provide option of creating multiple attachment in one go. Even drag and drop in High interactivity creates only one attachment. With Open UI there are options but with good old HI and SI mode this can be real tricky. However, With mix of HTML-Javascript-browserscript we were able to achieve a custom built html file with multiple file browse options. where user could select three files in one go.



Below custom file browse HTML was used . Name is as "MultiFileAttach.htm".


Once the HTML page is ready, copy it in  Siebel\Client\PUBLIC\Enu and \siebsrvr\WEBMASTER\enu folders. I was not able to use Multiple attribute for file input type (food for thought for Javascript masters) so was forced to use three different file controls. The key here is returnValue property which returns the "," separated file paths, which we use in our browser script to parse and create attachments in siebel file system.Below is the browser side code.

 

We are invoking the custom "MultipleFileAttach.html" using ShowModalDialog method. Once we capture the path of attachments, "FINS Industry BC Facility Service" is used to create the attachments. In order to use this BS on browser side one must define this as part of user property on Application Level. One on Open UI can sleep well as there are lot of plugins available for Multiple File uploads. Java punters can propose alternate solutions to this approach, as usual your comments/inputs/suggestions are most welcome.

Happy Crunching!!

Warning: This piece is for demo purpose. Please test this solution thoroughly before you implement in your production systems.

Friday, August 2, 2013

How to display Popup applet in Siebel - Possible ways!!





Siebel provides various different OOB ways to display
a Popup applet, no matter if it a list applet or form applet. Here below is the
list of all possible ways:



1.
ShowPopup



This is a straight forward OOB way to display a popup
applet which is mostly used to display a popup when button is clicked.



a.