How to identify rules in Targeters
Hi All,
I want to know which rule set is applyied in Targeters.
Lets consider the below code as an example.
I have created the HomeRotating1 as a Targeter in BCC with 3 ruleset.Like,
1)Display nokia produt for Logged in User
2)Display samsung produt for Anonymous User
3)Display Apple product for WalmArt User.
jsp code:
<dsp:droplet name="TargetingFirst">
<dsp:param name="targeter" bean="/atg/registry/Slots/HomeRotating1"/>
<dsp:param value="1" name="howMany"/>
<dsp:oparam name="output">
Here am getting the output result
</dsp:oparam>
</dsp:droplet>
But, i want to display the applied rule also, Like [1] rule, [2] rule or[3] rule.
Thanks in Advance,
Vinoth.M
PFB my code.
<dsp:importbean bean="/atg/dynamo/droplet/ForEach" />
<dsp:importbean bean="/atg/targeting/TargetingFirst" />
<dsp:importbean bean="/atg/registry/RepositoryTargeters/ProductCatalog/HomeRotating1" />
<dsp:droplet name="TargetingFirst">
<dsp:param name="targeter" bean="HomeRotating1"/>
<dsp:param value="1" name="howMany"/>
<dsp:oparam name="output">
<dsp:valueof bean="HomeRotating1.displayRuleStringsUsingCurrentRequest[*'here i want to pass the rule no(0 , 1 or 2)*']"/>
</dsp:oparam>
</dsp:droplet>
In HomeRotating1 component will have the rulesets.
Now , help me to resolve this , I want to know applied rule set as a string or number any way.
Regards,
Vinoth.M
Edited by: Vinoth M on Mar 29, 2013 4:39 AM
Similar Messages
-
Need to receive an alert when a Linux server reboots. How can this rule/monitor be created?
You can use the "Shell Command" templates to create a UNIX/Linux Shell Command (Alert) rule. See the walkthrough and background here:
http://operatingquadrant.com/2012/01/30/opsmgr-2012-unixlinux-authoring-templates-shell-command/
The following command will identify the seconds the system has been "up" and return OK if it is greater than 15 minutes, and REBOOTED if the seconds up are less than 15 minutes. Your Shell Command rule should alert if the StdOut value contains
REBOOTED.
upseconds=`cat /proc/uptime |awk '{print int ($1 )}'`;if [ $upseconds -lt 900 ];then echo REBOOTED;else echo OK;fi
www.operatingquadrant.com -
How to identify transfer and update routines are applied to my ods/ cubes?
hi all,
how to identify transfer nor update routines are been applied to my ods/ cube?
regds
hariYou need to go through the update Rule and Transfer Rule mapping and if you see any routine then there is a routine. Only manual process and also that is not too bad to go through them.
thanks.
Wond -
How to identify the missing reecords once load was performed
hi experts
if load was performed and we found some missing records are there how to identify them and how to populate them again. if the records are only few we can manually find them and selecting and info package level in data selection we can send them but if they are millions of records how to identify them and how to solve this kind of issue.
is there any solution for this apart from data reconsillation
thanks in advanceHi,
Generally who is accessing the reports(End users) , those only can findout that if any data is missing in the data load and showing any wrong data.
They will know and compare the data in R/3 inform to BW team , what they got wrong data insted of Original data.
According to that we need to Analyse the data flow BW >>> R/3 -( Top to bottom we need to check all the data targets by giving the missing values)
To see the contents we use the T.code is : LISTCUBE ( Here you can see the content and request IDs and source) , according to the we need to analys and find , whether problem is occured
LIST CUBE : To see the contents of data targets in BW side
In the below cases data will show wrong in the reports
1. If the data was not loaded into BW side.
2. Even if the data is loaded into BW side, Some times Due to the incorrect rotines/update rules the data might be showing wrong in the reports.
3. If any issue with varibles/ C.KF's/ R.K.Fs used in the reports, the data will show wrong due wrong calculation.
4. if any wrong selection in the varibles also will show Wrong data.
So, we need to analys all these things and compare with R/3 data,
First we need to check the data in BW Intial load data target by comparing the R/3 data source with extract checker (RSA3)
RSA3 : Extract checker in R/3 side
in some cases, you need to check the data base tables if the datasource is Generic
RSO2 (T.code) - To display Generic data source and findout the tables.
After Analysis, if you find out that if any data is missing from the source system , you need to run Repair Full request, which is not effect previous delta
Repair full request :
Go to info package :>> setting as Full insted of delta
change the setting in menu >> Check mark for repaire full request
Selection : Give the selection for missing record in the infopackage in selection Tab
After this you will get the as per your selections, without distrubing your delta load >> next you can run your delta load as usal
I hope it may help you to analys the issue.
Regards.
Rambabu
Edited by: Rambabu velanati on Mar 24, 2011 12:32 PM -
How to identify ASM DiskGroup attached to which Disks ???
Hi Guys,
In 11gR2 RAC, How to identify which ASM Diskgroup is attached to which Disks...( OS is RHEL 5.4).
We could list ASM Diskgroups by,
*#oracleasm listdisks* but this command doesn't show the disks assigned to ASM DiskGroup.
Even for checking location of OCR and Voting Disks only show Diskgroup name and not the actual disks.
$ocrcheck
$crsctl query css votedisk
( like in 10gR2 RAC, We do entry in /etc/rules.d/udev/60-raw-rules file for raw mapping of OCR, Voting Disk and Other ASM Diskgroup)
Plz help me, As one of the client place, I could see so many LUNs assigned to the Server and not getting exact idea which Disks have been used for OCR, Voting Disk and DATA Diskgroup.
Thanks,
ManishWell for this you can use oracleasm querydisk.Using this you can identify which device as marked for asm or not. for example you can see this below example.
[oracle@localhost init.d]$ sqlplus "/as sysdba"
SQL*Plus: Release 10.2.0.4.0 - Production on Thu Jun 3 11:52:12 2010
Copyright (c) 1982, 2007, Oracle. All Rights Reserved.
Connected to:
Oracle Database 10g Enterprise Edition Release 10.2.0.4.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
SQL> select path from v$asm_disk;
PATH
/dev/oracleasm/disks/VOL2
/dev/oracleasm/disks/VOL1
SQL> exit;
[oracle@localhost init.d]$ su
Password:
[root@localhost init.d]# /sbin/fdisk -l
Disk /dev/sda: 80.0 GB, 80000000000 bytes
255 heads, 63 sectors/track, 9726 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sda1 * 1 1305 10482381 83 Linux
/dev/sda2 1306 9401 65031120 83 Linux
/dev/sda3 9402 9662 2096482+ 82 Linux swap / Solaris
/dev/sda4 9663 9726 514080 5 Extended
/dev/sda5 9663 9726 514048+ 83 Linux
Disk /dev/sdb: 80.0 GB, 80026361856 bytes
255 heads, 63 sectors/track, 9729 cylinders
Units = cylinders of 16065 * 512 = 8225280 bytes
Device Boot Start End Blocks Id System
/dev/sdb1 1 4859 39029886 83 Linux
/dev/sdb2 4860 9729 39118275 83 Linux
[root@localhost init.d]# ./oracleasm querydisk /dev/sdb1
Device "/dev/sdb1" is marked an ASM disk with the label "VOL1"
[root@localhost init.d]# ./oracleasm querydisk /dev/sdb2
Device "/dev/sdb2" is marked an ASM disk with the label "VOL2"
[root@localhost init.d]# ./oracleasm querydisk /dev/sda1
Device "/dev/sda1" is not marked as an ASM disk
[root@localhost init.d]#Also in windows :
C:\Documents and Settings\comp>asmtool -list
NTFS \Device\Harddisk0\Partition1 140655M
ORCLDISKDATA1 \Device\Harddisk0\Partition2 4102M
ORCLDISKDATA2 \Device\Harddisk0\Partition3 4102M
NTFS \Device\Harddisk0\Partition4 152617M
C:\Documents and Settings\comp>answered by chinar.
refer:-how to identify which rawdevice Disk Is named as VOL1 IN ASM from os level
Happy New Year.
regards, -
How to use rule and send the same email to multiple recipents
Hi,
My requirement is to send the workitem to the multiple recipents. one of my reiend suggest me to use the rule but i don't know how to use that .
can any one of you suggest me how to use rule in workflow.
Also i want to send the same email to multiple recipent .how can i do it by using the multiline variable...please advice me with example if possible..
Note :- Is it necessary to saparate the email id with comma or i will add all the email next one another..
Please suggest.
Thanks in advance ,
AnandHi Anand,
I would suggest you first follow the guidelines of the forum and a little searching. One of your questions has been asked just a few threads below.
Regards,
Martin -
How to identify missing records in a single-column table?
How to identify missing records in a single-column table ?
Column consists of numbers in a ordered manner but the some numbers are deleted from the table in random manner and need to identify those rows.Something like:
WITH t AS (
SELECT 1 ID FROM DUAL UNION ALL
SELECT 2 ID FROM DUAL UNION ALL
SELECT 3 ID FROM DUAL UNION ALL
SELECT 5 ID FROM DUAL UNION ALL
SELECT 8 ID FROM DUAL UNION ALL
SELECT 10 ID FROM DUAL UNION ALL
SELECT 11 ID FROM DUAL
-- end of on-the-fly data sample
SELECT '[' || (id + 1) || ' - ' || (next_id - 1) || ']' gap
FROM (
SELECT id,
lead(id,1,id + 1) over(order by id) next_id
FROM t
where id != next_id - 1
GAP
[4 - 4]
[6 - 7]
[9 - 9]
SQL> SY.
P.S. I assume sequence lower and upper limits are always present, otherwise query needs a little adjustment. -
How to identify a type of consolidation in a system?
Hi,
I need to understand how to identify the type of consolidation we are doingion the system.
Example like Step consolidation, Simultaneous consolidation or other method.
This will be helpfull for me in doing my currest support issues.
Thanks in advance,
Richard..Not sure to understand your question.
What is the precise context of your issue ? Is it a problem of SEM-BCS configuration or a general problem on how consolidation works ? -
How to identify the user who created the variant
Hi All,
Can anyone tell me how to identify the user who created the variant ?Hi Dear,
For the same go to SE11 and view the table "VARID". This table give the details of the program,user,variant etc.
From this table u can know which user created the variant. Hope this solve your purpose.
Regards -
How can identify the default currency for a customer?
How can identify the default currency for a customer?
I know that this is being determined when you create a sales order for a particular customer, for example, so I could break this process open and find out what it uses. But I thought it worth asking in this forum first.
BlueHi Gary,
As per my understanding of your question I am replying , If you are looking some thing else then I request you to please elaborate your query.
If you see the BP sales area data in transaction BP, In billing tab you maintain the currency for a customer which is default currency when you create a sales order.
<b>Reward points if it helps!!</b>
Best regards,
Vikash -
How to create Rules with Flex Field mapping in the bpm worklist
I Have created a flex field label and was able to map to the flex field attributes .
But when i try to create a rules , I don't see the label or the flex attributes in the task payload .
Can someone please help is understanding how to create Rules with Flex Field mapping in the bpm worklist .
Even I am also searching for any scripts which will take the flex fields prompts and can directly create a label in the bpm worklist .
Any pointers or suggestion is highly appreciated .Hi,
SE38 -> Enter program
Select Variants button and display. In the next screen, enter a variant name, (If not existing , press Create to create new one), else click on Change.
Now the selection screen will display with a button "Variant Attributes" at the top.
Click on that button.
In the next screen, go to the selection variable column of the date field. Press F4 or drop down and select 'D' for date maintenance.
In the column "Name of Variable (Input Only Using F4)" press F4 or drop down, select whichever kind of date calculation you want and save the variant.
Now whenever you run the prgrm with this variant, date will be displayed by default.
Regards,
Subramanian -
How to identify german language in a program
Hi All,
i have one requirement. that is how to identify german language in a program.(suppose text elements, data elements are in german language our program should identify that german language). Anybody have solution for this, pls send me as soon as possible.
Thanks for all in advance.
Thanks & Regards,
Nagarjuna.Hi Nagarjuna,
2 possible approaches:
1. Source language: Every program is initially created with source language = logon language. Sored in TRDIR-RLOAD.
2. Try to read program texts in specific language (DE).
READ TEXTPOOL pv_repid INTO lt_textpool LANGUAGE 'D'.
IF sy-subrc = 0.
MESSAGE s000(R1)
WITH 'German texts present in' pv_repid '' ''.
ELSE.
Regards,
Clemens -
How to identify fact and dimension tables
Hi ,
We are having the list of parent child relation info for each database tables. Based upon the parent child tables ,needs to identify which table is fact ,which table is dimension .Could you please help me how to identify the fact table and dimensions tables ?
Thanks in advanceHi,
Refer this link........
http://www.oraclebidwh.com/2007/12/fact-dimension-tables-in-obiee/
Please mark if it helps you....... -
How to Identify an item as a Raw material or not?
Hello,
I would like to know how to identify a particular item that is bought, if it is a raw material that will be used for further processing to build any other finished product or if it is a finished product that can be sold directly. I need to find out which table and which column we can find the information from?
For example, we bought an item like motherboard, which is used as a raw material to build a laptop.
I suppose it is clear, so, can any one let me know which table has this kind of information. Is it available in the Purchasing module tables like PO_Headers_all, etc..
Thank youCheck table MTL_SYSTEM_ITEMS_B, COLUMN BOM_ITEM_TYPE.
BOM_ITEM_TYPE = 1 (Model)
= 2 (Option Class)
= 3 (Planning)
= 4 (Standard )
So if BOM_ITEM_TYPE 1 means it is configurable. & 4 means it can be used as raw material as well as individual product ex. keyboard. -
How to identify fonts in pdf using vc++
Hi All,
how to identify fonts in pdf using vc++. could you please help me out in this scenario.
Thanks,
Parthasarathy.SI believe there is a sample plugin in the SDK for doing this.
From: Adobe Forums <[email protected]<mailto:[email protected]>>
Reply-To: "[email protected]<mailto:[email protected]>" <[email protected]<mailto:[email protected]>>
Date: Thu, 15 Dec 2011 02:27:21 -0800
To: Leonard Rosenthol <[email protected]<mailto:[email protected]>>
Subject: how to identify fonts in pdf using vc++
how to identify fonts in pdf using vc++
created by partha56<http://forums.adobe.com/people/partha56> in Acrobat SDK - View the full discussion<http://forums.adobe.com/message/4086333#4086333
Maybe you are looking for
-
When I open Mail - I can't see iCal or Safari anymore??
I'm running 10.6.1 - If I open Safari and iCal alone - all is right - the both act properly - if I then open Mail I cant see iCal or Safari any more - those apps dont close - but I can open a window on either - HELP! - any suggestions??
-
Is there a way to play podcasts in order?
Is there a way to sort podcast episodes so it plays from oldest to newest automatically, just as in iTunes? It's pretty irregular and a pain in the neck to have to hit the back button upon end of each episode, just to hear things in order.
-
After update ios. iPhone asks me to write the password and id which i dont know
hello! I have a problem with my iphone 5 ,after update ios.Iphone asks me to write the password and id which i dont know because all settings set in Egypt when i bought IPHONE.Is it possible to change id or make smth with this problem? I bought the
-
When "change" pop-up key (named lov)
apex on the cloud , hi all , a medical laboratory app i have a page , with a pop-up key(named lov) , the lov is based on some test names and a derived column beside the pop-up key column , what i want is : when i choose a test from the pop-up list ,
-
Ok, here is what I have. I created a web photo gallery through Photoshop CS2 and so all the code was produced for me (im not code dumb just not saavy yet). On the iamges pages you can leave feedback, there is a save feedback option and a email feedba