Storing multipl values for meta data in DOCUMENT_META_DATA
Hi,
We currently have 3 content types in our system: news, announcements, and events.
They are currently stored in 3 different tables. We want to make this content
available via the various CM (select) and PZ tags (contentquery, contentselector).
I'd like to avoid writing my own doc provider (file:///D:/bea7/weblogic700/wlp/docs70/dev/conmgmt.htm#999019)
and instead would like to begin to publish document data directly to the reference
implementation tables (DOCUMENT and DOCUMENT_METADATA).
It seems like I should be able to do that with one exception. It doesn't seem
like we can store multiple values for meta data attributes. If you take the out
of the box p13n example, a lot of the data is tagged with 'genre' = Something
(i.e. Rock, Hip-hop, etc). Then content queries use this genre to personalize
pages.
What if I have a band that has multiple genres? What if I want to tag my band
as Rock and Hip-hop? And then also want that band to appear on both a Rock lovers
and a Hip hop groupies page? Is this possible with the default implementation?
I know when I tried entering multiple 'genre' meta data values for a same document
ID, it gave me a PK constraint violation. Any other trick around this?
Thanks,
Will Young
ps. using weblogic 7...
Yes Subler http://code.google.com/p/subler/ does support adding the HD tag.
On the Mac I wouldn't use anything but Subler for tagging, best UI, best metadata lookup, best underlying libraries for mp4 files (I'm biased on the libraries part).
Cheers Ed.
Similar Messages
-
Any way to pass Multiple Values for a single Label in the Parameter?
I have a Report that Contains 2 Parameters, @Customer & @Area. When trying to set up the Available Values for @Area, I'm having issues using multiple values for one Label, i.e. = "4006" Or "4610"
One of the Filters in the Report is an Operation number, which is the [OPERATION] field, which is setup as a filter on the Tablix referencing the @Area parameter.
PROBLEM: I cannot retrieve any data when trying to use the ‘Or’ Operator here. If I simply put “4006” or “4610” I retrieve data, but when trying to combine it returns no data.
Example, I need to allow a user to select ‘Chassis Incoming’, which would include data from Operations 4006 & 4610.
QUESTION:
Any way to pass Multiple Values for a single Label in the Parameter?
I realize the typical solution may be to use ‘Multi-Value’ selection, but in this case we want the User to select the Area and the multiple values for Filtering will be automatically determined for them. Otherwise, they are subject to not getting
it correct.
I have tried several different ways, such as =”4006” Or “4610”, =(“4006”, “4610”), = In(“4006”, “4610”), etc….
Note: We are using Report Builder 3.0Based on my experience, there's no way to 'intercept' the query that gets passed back to SQL Server, so a Split wouldn't work.
Try creating either a function or stored procedure using the code below (compliments to
http://www.dotnetspider.com/resources/4680-Parse-comma-separated-string-SQL.aspx) to parse the string:
CREATE FUNCTION dbo.Parse(@Array VARCHAR(1000), @Separator VARCHAR(10))
RETURNS @ResultTable TABLE (ParseValue VARCHAR(100))AS
BEGIN
DECLARE @SeparatorPosition INT
DECLARE @ArrayValue VARCHAR(1000)
SET @Array = @Array + @Separator
WHILE PATINDEX('%' + @Separator + '%' , @Array) <> 0
BEGIN
SELECT @SeparatorPosition = PATINDEX('%' + @Separator + '%', @Array)
SELECT @ArrayValue = LEFT(@Array, @SeparatorPosition - 1)
INSERT @ResultTable VALUES (CAST(@ArrayValue AS VARCHAR))
SELECT @Array = STUFF(@Array, 1, @SeparatorPosition, '')
END
RETURN
END
Once created you can do things like this:
SELECT * FROM Parse('John,Bill,David,Thomas', ',')
SELECT * FROM (SELECT 'John' AS TestName union select 'David' AS TestName) AS Main
WHERE TestName IN (SELECT ParseValue FROM dbo.Parse('John,Bill,David,Thomas', ','))
This is what your SQL query would probably look like:
SELECT OperationID, OperationName FROM dbo.Operations
WHERE AreaID IN (SELECT ParseValue FROM dbo.Parse(@Area, ','))
You may need to fiddle around with the Separator depending on whether SQL Server inserts a space between the comma and next value. -
Passing multiple values for a single field in URL to call sap Transaction
Hi All,
I need to pass multiple values for a single field to SAP transaction .
means if i have say a field "Date" which can contain more than one value, <b>but its not a range which has two fields</b> . How is it possible.
Let me know pls.
Regards,
Sirisha.R.S.Hi Satyajit,
I need to call a transaction with multiple values which gives me the report based on those values.
So I need to pass multiple values for a single parameter.
I hope u got it.
Regards,
Sirisha.R.S. -
How to Extract R/3 Multiple Valued variant Classification Data in BI
Dear Gurus,
got stuck in a situation where I am in need of your help. My Client want to extract the R3 Classification Data(Variant, Batch) into BI. I will share till what point I had reached. Used Transaction Code CTBW, was Trying to create Datasource based on Basic datasource 2LIS_11_VAITM for transactional Data. when I was trying to add the new Characteristics (CVN_L_AVG_SH) using Class with type 300(Variant), Getting an error "Characteristic has Multiple Values". I do know that Characteristics (CVN_L_AVG_SH and a fewmore) is having Multiple values, how can I add the same so that I can create classification datasource. Tried SDN got a PDF " How to Extract R/3 Classification Data in BI by Affine" but didn't helped Much.
Looking ahead to hear from you.Hi Harsha,
You cannot extract the multiple values using classification data sources, this data can be extracted by creating a generic extractor based on a view (with join on tables AUSP and INOB). this extractor brings the data in the following format.
OBJEK | ATINN | ATZHL | ATWRT
1 | HOBBY | 1 | CRICKET
1 | HOBBY | 2 | PAINTING
1 | HOBBY | 3 | READING
2 | HOBBY | 1 | CRICKET
2 | HOBBY | 2 | PAINTING
3 | HOBBY | 1 | READING
i.e. for field Hobby these are values assigned, if you want you can create 3 InfoObjects in BW and flatten this data by setting flags as below.
OBJEK | HOBBY_CRICKET | HOBBY_PAINTING | HOBBY_READING
1 | X | X | X |
2 | X | X | |
3 | | | X |
Let me know if you need more details.
Regards,
Rk -
Multiple values for Commodity Code/Import code number for Foreign Trade
Hi Experts,
Is it possible to enter the multiple values for Commodity Code/Import code number for Foreign Trade field for plant/country specific data in transaction MM02 using any BADI/User Exit ? If yes, suggest the name of the BADI/User Exit
Thanks,
Narayanhow can one material in one plant have 2 commodity codes? This is not logical.
-
Multiple values for a given property in a Master Record
I have a requirement to maintain multiple values for a given property of a master data as shown in the above example. Appreciate your help on the above.
Regards
SAP BOSSHi,
As you said
How do I use the property values in my input values.
I thought you are talking about input form, that's why I said you can crate input form using dimension over ride.
But if your requirement is about scrip logic then it is better to ask question with reference to following guide by Vadim Kalinin so that we can understand your requirement properly and you will get right solution.
http://scn.sap.com/community/epm/planning-and-consolidation-for-netweaver/blog/2014/01/31/how-to-ask-questions-about-script-logic-issues
Regards,
Shrikant -
Hi All:
I am trying to create multiple profiles, using unified profile types, to
store multiple values for same properties. Here my intention of using
'unified profile types' is to create multiple profiles (to store multiple
values for a property). All the properties are stored in the same database
maintained by Personalization server. Also, I am trying to use the same
'USER' ejb as profile class/home/pk/jndi.
The scenerio is,
define unified profile types (Business, Vacation) using Personalization
admin tools, using com.beasys.commerce.axiom.contact.User,
com.beasys.commerce.axiom.contact.UserHome,
com.beasys.commerce.axiom.contact.UserPk,
com.beasys.commerce.axiom.contact.User for Profile Class, Home, Pk class,
JNDI name respectively.
Define Property set 'HotelCommerce' with property
HotelProp as single, restricted, text (valid values Single, Double)
Now you can use the attached jsp files to login as a user and try to set the
property value for HotelProp for each profile. As per my understanding, I
was expecting that I can set different values for the property 'HotelProp'
for each profiles. But unexpectedly, all the profiles get the same value.
Question. is it the correct behavior? if yes, how can I achieve this
functionality?
if not, do you see any problem in my scripts?
your answer asap is appreciated. we need to make decision on using
Personalization server v/s developing our own Personalization server!!!:)
thanks,
-rajesh
PS: I have tried 'Unified Profile Example' type too, but that did not work.
[propsettest.jsp]
[home.jsp]I am trying to create multiple profiles, using unified profile types, to
store multiple values for same properties. Here my intention of using
'unified profile types' is to create multiple profiles (to store multiple
values for a property). All the properties are stored in the same database
maintained by Personalization server. Also, I am trying to use the same
'USER' ejb as profile class/home/pk/jndi.Hello Rajesh,
This is not the purpose of the UUP. The UUP is used to allow existing
database schemas to be aggregated with the existing Weblogic Personalization
Server database schema to provide a single, customized user profile with which
to maintain the user properties (
http://e-docs.bea.com/wlcs/p13n/users.htm#1068901 )
If you want to have properties that change value based on some "profile" or
classification of a user, then you should use classifier rules to change the
user from "OnVacation" to "AtWork" or "AtHome". You can use these classifier
rules to select content for the user or conditionally execute logic (
http://e-docs.bea.com/wlcs/p13n/rules.htm )
Ture Hoefner
BEA Systems, Inc.
1655 Walnut Street; suite 200
Boulder, CO 80302
www.beasys.com -
How to passing multiple values for a parameter of discoverer(url parameters
Hi All,
I am trying to pass multiple values for a parameter of disco report. I am trying to include my url for discoverer viewer report. the values has the following
'jeff,mark'
'sfophiee,angela'
Thanks and Regards
VenkatHello Venkat,
I know there are some problems with 10.1.2.0.2, maybe if you haven't done yet you can try with 10.1.2.2, assuming this version should be working for multiple parameter values :
OracleAS Discoverer 10.1.2.2 is installed with the following patch :
Patch 4960210 PLACEHOLDER BUG FOR AS/DS 10G R2 PATCH SET 2 10.1.2.2
So, once installed you can try adding your parameter as param_<parameter_name>='sfophiee,angela'
Hope this helps, otherwise feel free to log a Service Request to Support.
Best Regards,
Gianluca -
Multiple Values For one Condition in Choose From List
I have used one Business Partner Choose From List in my form but i want to give condition in that choose from list on GroupCode .But the condition will have multiple values like 100,102,104 then how i will write the code to incorporate multiple values for one single condition.
Hi,
Check this thread
How to set a Multiple condition in a single CFL
Hope that helps,
Vasu Natari. -
Multiple values for single field
hi
In order to upload Purchase order details, how you handle multiple values for a single field?
Eg: Item field may contain no. of values for a recordHi,
It is generally taken care using BDC's by Table Control, and if you are using BAPI's then there are tables for ITEMS.
Regards,
Atish -
Set Default Value for a Date Navigator
Hi all
Is it possible to set a default value for a date navigator.I mean with out picking the date from the Navigator, on load of the view itself i need a particualr date to be displayed (say 12/31/2000).
Thanks in advanceHi,
create a value attribute of type date bind to the input field and in wdInit()of view controller write this code..
wdContext.currentContextElement().setValueAttrName(new Date(Calendar.getInstance().getTimeInMillis()));
means ...
u r setting the date entered into some context ....
type of that attribute must be of date and for initial value write the above code ..if it is under node element create nodeelement bind it to context and write the code accordingly..
Message was edited by: Yashpal Gupta -
Is there any way we can set default value for a Date Attribute to current date in Master Data Services.
I as well wants to know that is there any posibility to show Calendar control while input data into respective date attributes.
Thanks.Hi Anagha,
So far i havent found any way to set todays date by default from MMI, but i guess this flow should work as workaroud
1. Add buisness rule which can set a default value when Date = NULL/Blank
2.get the entity table ,use -select EntityTable from mdm.tblEntity where Name = '<enter entity name>'
3.Go to that table and add a after update trigger like
if uda_<entityid>_<attributeid(Date attribute)> = default value
update uda_<entityid>_<attributeid(Date attribute)> =getdate() where id = <LastUpdatedRow>
I will check on this too from my side.
By the way AFAIK i dont think so calendar control integration is possible . -
Got multiple values for non null local custom field
Hi,
I get the following error message while saving a MPP from Project Professional to MS Project Server:
Got multiple values for non null local custom field.
I checked the MPP and found that there are fields with same alias as Enterprise field names. However, these fields are at a Task level, whereas the Enterprise fields are at a Project Level.
I would like to know why this is happening and the resolution for this issue. I don't want to delete the local fields.
Any help in this regard will be appreciated.Then try to find any inconsistencies in the project plans with the issues, like required values not entered. Also try to save the plan as XML format and save it back as an mpp file to see if it helps (be aware that any formatting will be lost).
Hope this helps,
Guillaume Rouyre, MBA, MVP, P-Seller | -
Enter multiple values for a field in dialog programming
I need to enter multiple values for some of the fields in screen , which screen element do i use for this or is there any other way of doing it?
That would be a table control. In this you can enter multiple values for multiple fields.
http://help.sap.com/saphelp_nw04/helpdata/en/9f/dbac5e35c111d1829f0000e829fbfe/content.htm
Thanks,
SKJ -
Multiple values for Time Characteristics (Ex: 0CALMONTH) in planning layout
Hello,
We are on BW - BPS 3.5v
We have a realtime infocube with only time characteristic 0CALMONTH.
There is a requirement that in my Planning layout I have to display the Keyfigures for:
(CURRENT MONTH) (CUMULATIVE 4 MONTHS FROM CURRENT MONTH) (CUMULATIVE 7 MONTHS FROM CUR MONTH)
I defined 3 exit variables on 0CALMONTH , one for Current Month, one for All 4 months from Current Month and another for All 7 months from Current Month.
In my planning layout when I use these variables for 0CALMONTH, I don't get the values for 4 months & 7 months.
I checked the variables are being populated with correct values. But when they get passed to the layout it doesn't read the Cube.
I got the basic doubt if we can give multiple values for the time characteristics in planning layout..??
Thanks for any suggestions.
VishHi.
Did you created 3 restricted KF: one with KF amount and variable current month, second with amount and variable 4 monthes, third with amount and variable 7 monthes ?
Did you have match records in you cube ?
Regards.
Maybe you are looking for
-
Why I can´t open files in CC InDesign by double-clicking them ?
Everytime I am trying to open a file double-clicking it, it says: Choose a software to open it, where I can only pick CS3 from the list. Yes, I did try to select a software from the folder of softwares, and when I pick InDesign CC, simply goes back t
-
How or Can I update the image on my view of the topic icon? I wanted to change the icon that represents the topic in the TOC so I went to Project Setup and went to Skins and on the Default skin I right clicked and selected Edit. Then I went to the N
-
Updating eclipse 3.1.2 to 3.2.2 in bea weblogic 9.2.1
I am trying to upgrade eclipse to 3.2.2 in weblogic 9.2.1 so I can use the new WTP. When I try to do the upgrade I receive the following error. com.bea.eclipse.server.lib.xbean9 does anyone know how resolve this issue or how to upgrade the eclipse in
-
I have color coded some of the rows for a project I'm working on and would love to sort all the 'colored' rows together. Is there a way to sort by the color that I've chosen to fill each row with? When I had only two colors I was using a workaround.
-
Netware 6.5 Sys Vol Crash
For the second time in my memory, my server has suddenly crashed! While out of town on the weekend, our Netware server again lost its sys vol and when we got back, I had the following errors when I downed the server: nmID B001C relating to the unsync