SRM MDM - Multiple hyperlinks import into qualified table
Hi,
I need to create an import map where I can import two hyperlinks (URL2 and URL3) into the Hyperlink qualified table.
How can I achieve this?
I have an XML schema where the two hyperlinks are given in separate tags:
<URL2>http://www.test.net/xxxx</URL2>
<URL3>http://www.test.net/yyyy</URL3>
Can anyone provide me with a HOW-TO for how to map these two tags into the qualified table Hyperlink.
Maybe I should create two sections in the XML?
<URL2>
<MIME Type>URL</MIME Type>
<URL>http://www.test.net/xxxx</URL>
<URL Description>TEST URL</URL Description>
</URL2>
<URL3></URL3>
KR,
Thomas
Thank you very much. This worked fine.
Now I have another problem someone might be able to help me with.
The sending system does not wish to send a repeating XML tag with the two hyperlinks. It causes restrictions in the data amount that can be sent.
We see two possible solutions
1.
Building the hyperlinks in MDM, like a calculation.
<URL2>http://www.test.net/xxxx</URL2>
<URL3>http://www.test.net/yyyy</URL3>
xxxx and yyyy are values in fields we have in the MDM structure. Everything before this in the hyperlink is always the same.
Is it possible to create the hyperlinks based on the value of xxxx and yyyy? If yes, how could we manage this, also filling the fileds: URL Description, Hyperlink Type and MIME Type with correct information?
2.
PI can create the URLs during integration.
Which of these two should we use?
KR,
Thomas
Similar Messages
-
Source file structure when importing a qualified table
Hello MDM:ers
I need to import a qualified table into the following repository
(it is simplified to illustrate the problem):
Main table: Products
Fields: ID (int), Name (Text), Part number (Qualified)
Qualified Table: Part Numbers
Fields: Manufacturer (Lookup), Part Number (Text)
Lookup table: Manufacturers
Fields: Name (Text)
The source file is a very large text file that has the following structure:
Part ID Name Part no. Manuf 1 Part no. Manuf2
123 Nut ABC XYZ
456 Bolt DEF QWV
The result Im looking for Is to map a file structured a above so that two main table records are created (Nut and Bolt) which both have two qualified table records for each manufacturer. I have not been able to create such a map. I have tried to partitioning and combining fields without success.
I have no problem creating the map if I manually restructure the file to look like:
Part ID Name Manufacturer Part Number
123 Nut Manufacturer 1 ABC
123 Nut Manufacturer 2 XYZ
456 Bolt Manufacturer 1 DEF
456 Bolt Manufacturer 2 QWV
It where a way to import the file directly in MDM without restructuring it?Hi Alexander,
MDIS will not work fine if you have multiple tables as the mapping is saved only for 1 table. If you have multiple tables then after performing the process of Pivoting/Reverse pivoting, you will have to use joins.
Join the other tables as Lookup in the Main Table
Save all your configuration in a map. And then configure the map in the port.
It should then work with the MDIS also.
hope it helps.
Thanks and Regards
Niitn Jain -
Hi Team,
Need suggestion:
I have 2 Qualifier tables. 1 with more than 3 Non Qualiers and the other with only 1 non qualier.
I am successfully able to import their main table data individually, using different maps.Both the values are getting populated.
But on importing the Main table data (1 map) with both the Qualified tables, only 1 of their Non Qualifer data getting displayed.
Both these Qualified tables have no common fields between them. No idea why it is affecting on importing together.
NOTE:
On importing the Qualified tables manually with 2 different maps, it is getting imported.
But on importing Automatically, only one of the Qualified table is getting populated.
Thanks,
PritiHi Priti,
For multivalued field you need to check for Qualified Update option. For this you can refer page 257 of Import manager 7.1 reference guide. Try this option, it should solve your problem.
Thanks & Regards
Dilmit Kaur Chadha -
SRM-MDM - loading hyperlink field in import manager
Hi forum members,
I am having trouble loading the hyperlinks in for SRM-MDM in import manager.
What fields / values do I need to map to load this please?
I have mapped the hyperlink source field to the hyperlink destination field, but get an error during import executing saying there is an creating lookup table entry.
Is anyone able to provide step-by-step details of which mappings are needed?
Thanks very much,
NickHi Nicholas,
the non-qualifier for the hyperlinks table is the type. Therefore you need to also map this field. Please check note 1077701 (under 11.) on how to use the types.
Let us know whether that helped.
Best regards
Christian -
Hi all,
I am using srm mdm catalog 3.0 . Please let me know, how can i map the below fields fron Catalog.xsl file with SRM MDM pre-defined repository:
1-Image
2.Hypelinks
3.Catalog Name , Catalog ID [the client is asking whether , it's mandatory to maintain Catalog ID, Catlog Name]
In the Catalog.xsl source file , i hard coded the value of Hyperlink files like "www.abc.com", but when in MDM DATA Manger it doesn't get stored as URL .
Q2. Everytime when i import , do the Catalog Manager needs to Value Mapping manually? is there any way to automate this.
Plzzzzzzzzzzzz let me know, i require the info very badlyyyyyyyyy.
Thanks alresolved
-
How To Import Into A Table with Multi-Value Fields
Hello:
I have a table with a multi-value field that contains states in which a company does business. It is multi-value because there can be more than one state. I tried to import a text tab-delimited file in which the data was arranged as follows:
Field1 Tab Field 2 Tab OR, WA, CA Tab
The "State field contained the multiple entries separated by a comma (like they appear in a query of the multi-value field), but it won't accept it. Does anyone know how to import into a multi-value field?
Thanks,
Rich Locus, Logicwurks, LLCJoana:
Here's the code I used to populate a multi-value field from a parsed field. The parsing routine could be greatly improved by using the Split function, but at that time, I had not used it yet. FYI... the field name of the multi-value field in
the table was "DBAInStatesMultiValue", which you can see in the example below how it is integrated into the code.
Option Compare Database
Option Explicit
Option Base 1
Dim strInputString As String
Dim intNumberOfArrayEntries As Integer
Dim strStateArray(6) As String
' Loop Through A Table With A Multi-Value Field
' And Insert Values Into the Multi-Value Field From A
' Parsed Regular Text Field
Public Function InsertIntoMultiValueField()
Dim db As DAO.Database
' Main Recordset Contains a Multi-Value Field
Dim rsBusiness As DAO.Recordset2
' Now Define the Multi-Value Fields as a RecordSet
Dim rsDBAInStatesMultiValue As DAO.Recordset2
' The Values of the Field Are Contained in a Field Object
Dim fldDBAInStatesMultiValue As DAO.Field2
Dim i As Integer
' Open the Parent File
Set db = CurrentDb()
Set rsBusiness = db.OpenRecordset("tblBusiness")
' Set The Multi-Value Field
Set fldDBAInStatesMultiValue = rsBusiness("DBAInStatesMultiValue")
' Check to Make Sure it is Multi-Value
If Not (fldDBAInStatesMultiValue.IsComplex) Then
MsgBox ("Not A Multi-Value Field")
rsBusiness.Close
Set rsBusiness = Nothing
Set fldDBAInStatesMultiValue = Nothing
Exit Function
End If
On Error Resume Next
' Loop Through
Do While Not rsBusiness.EOF
' Parse Regular Text Field into Array For Insertion into Multi-Value
strInputString = rsBusiness!DBAInStatesText
Call ParseInputString
' If Entries Are Present, Add Them To The Multi-Value Field
If intNumberOfArrayEntries > 0 Then
Set rsDBAInStatesMultiValue = fldDBAInStatesMultiValue.Value
rsBusiness.Edit
For i = 1 To intNumberOfArrayEntries
rsDBAInStatesMultiValue.AddNew
rsDBAInStatesMultiValue("Value") = strStateArray(i)
rsDBAInStatesMultiValue.Update
Next i
rsDBAInStatesMultiValue.Close
rsBusiness.Update
End If
rsBusiness.MoveNext
Loop
On Error GoTo 0
rsBusiness.Close
Set rsBusiness = Nothing
Set rsDBAInStatesMultiValue = Nothing
End Function
Public Function ParseInputString()
Dim intLength As Integer
Dim intStartSearch As Integer
Dim intNextComma As Integer
Dim intStartOfItem As Integer
Dim intLengthOfItem As Integer
Dim strComma As String
strComma = ","
intNumberOfArrayEntries = 0
strInputString = Trim(strInputString)
intLength = Len(strInputString)
' Skip Zero Length Strings
If intLength = 0 Then
Exit Function
End If
' Strip Any Leading Comma
If Mid(strInputString, 1, 1) = "," Then
Mid(strInputString, 1, 1) = " "
strInputString = Trim(strInputString)
intLength = Len(strInputString)
If intLength = 0 Then
Exit Function
End If
End If
' Strip Any Trailing Comma
If Mid(strInputString, intLength, 1) = "," Then
Mid(strInputString, intLength, 1) = " "
strInputString = Trim(strInputString)
intLength = Len(strInputString)
If intLength = 0 Then
Exit Function
End If
End If
intStartSearch = 1
' Loop Through And Parse All the Items
Do
intNextComma = InStr(intStartSearch, strInputString, strComma)
If intNextComma <> 0 Then
intNumberOfArrayEntries = intNumberOfArrayEntries + 1
intStartOfItem = intStartSearch
intLengthOfItem = intNextComma - intStartOfItem
strStateArray(intNumberOfArrayEntries) = Trim(Mid(strInputString, intStartOfItem, intLengthOfItem))
intStartSearch = intNextComma + 1
Else
intNumberOfArrayEntries = intNumberOfArrayEntries + 1
intStartOfItem = intStartSearch
intLengthOfItem = intLength - intStartSearch + 1
strStateArray(intNumberOfArrayEntries) = Trim(Mid(strInputString, intStartOfItem, intLengthOfItem))
End If
Loop Until intNextComma = 0
End Function
Regards,
Rich Locus, Logicwurks, LLC
http://www.logicwurks.com -
Multiple XML import into one PDF
I want to import multiple xml files into my form at one time resulting in one pdf with each page repeating with each set of data. Is there a way to do this?.
Hi,
You can use loadXML method to load necessary XMLs, after that you have parse it, take data, and set it to correspondent fields.
You can check this links, maybe it will be helpfull:
http://forums.adobe.com/thread/333519
http://livedocs.adobe.com/livecycle/8.2/acrobat_designer/wwhelp/wwhimpl/common/html/wwhelp .htm?context=Adobe_LiveCycle_Designer_Help&file=001719.html
BR,
Paul Butenko -
Insert/Update multiple checkbox values into a table
Hi all,
I created an interactive report with checkboxes in it.
My application is like,
step 1: user will give his ID in a text box and click on 'submit' which redirects to IR page which has got checkboxes
step 2: IR report displays all the environments and access levels as two of its columns
step 3: if user checks on some box in IR, those particular environments and access levels (may be multiple environments and access levels) for that particular ID should get inserted into a table.
I have created a model application at http://apex.oracle.com/pls/apex/f?p=71510:20 (wokspace:test_me, username=test, paswrd: apex14gm)
I found this forum too, https://forums.oracle.com/thread/2387391?start=0&tstart=0. But I am confused of how to implement it!
How to achieve this??
Pls help me out....
Thanks in advanceHi Kanishkaa,
I've taken a look at your application.
So the things that I noticed that are wrong:
1)Your report: You created 2 items but you gave the 2 items the same idx. This is really weird I'm not sure if APEX knows how to handle this. Don't give 2 items the same idx. Furthermore you need to create 2 additional hidden items since you also want to store the access level and the environment.
2)The PL/SQL Process: Your PL/SQL Process: your making a type t_checkboxes, but your not actually doing anything with this type. Your not giving this any value. So obviously you get an error.
You really should rewrite this process based on the process in my blog. Please read it again carefully, if you just use the one insert statement you are using then even if you write a correct process that doesn't give any errors, the wrong data will be inserted.
Regards,
Joni -
Multiple messages enqueuing into one table using Database Adapter
Hi All,
I am trying to fetch records from one table and insert into another table in the same database using two DB adapters each for one function.When trying for one record,it is working fine.But for more than one records using for-each loop I am unable to insert the records into the table.Can anyone suggest any solution.
For DB Adapter 1 and 2 I am selecting "Perform an operation on a Table".
Options being selected in case of both adapters:-
DB Adapter1-'select' and DB Adapter2- 'Insert'
Regards,
Niva DasDo not know the exact implementation how you have done but this is what you can do to narrow down the issue.
you can check out the instance to know whether you are able to fetch multiple records from the first table.
If that works fine then you can check the transformation whether the data is getting transformed in to correct format.
If that too works fine check out whether the invocation to second db adapter is fine or not. -
Loading multiple .csv files into a table using SSIS
Hi,
I have a requirement where I have 200+ csv files to be loaded into Netezza table using SSIS.
Issue I am facing is all columns have different number of columns, for ex, file 1 has columns A,B,C and file 2 has columns C,D,E. My target table has all columns from A to E in it.
But, when I am using for each loop container, only the file for which I have specified filepath+filename in loop variable, that is getting loaded. Rest all files, no data is getting loaded from them and package is executing successfully.
Any help is appreciated.
Regards,
VTif you want to iterate through files then all files should be in same folder and you should use file enumerator type within ForEach loop. Then inside loop you might need a script task to generate the data flow on the fly based on the avialble input columns
from the file and do the mapping in the destination. So I assume you put NULLs (or some default value) for missing columns from the file
http://blog.quasarinc.com/ssis/best-solution-to-load-dynamically-change-csv-file-in-ssis-etl-package/
Please Mark This As Answer if it helps to solve the issue Visakh ---------------------------- http://visakhm.blogspot.com/ https://www.facebook.com/VmBlogs -
Creating DataLocationId for import into images tables
I would like to ask if someone has working code to create a DataLocation when importing pictures into the Images table using the Java API.
I´ve already worked out that this is a hierarchical structure and i´ve to create an entry for every component of my filename.
Take this example:
fileserverpath1path2 ile.txt
I´ve to create node
fileserver, path1, path2 where path1 is a child of fileserver and path2 a child of path1.
For every node during creation, i´ve to set the DataLocationType which is one of
static int COMPUTER_LOCATION
A particular computer location.
static int DIRECTORY_LOCATION
A directory location type.
static int LOCAL_FIXED_DEVICE_LOCATION
A local fixed device such as a local drive.
static int PHYSICAL_LOCATION
A non computer location, such as postal address.
static int REMOVABLE_MEDIA_LOCATION
A removable media device such as disk on key.
static int ROOT_LOCATION
Root of tree, doesn't represent a location.
static int SHARED_FIXED_DEVICE_LOCATION
A shared directory on another computer.
The problem is, that for the above example, i used COMPUTER_LOCATION for the
fileserver component and DIRECTORY_LOCATION for the remaining components. But i get an unspecified server error when trying this.
However, if i import a picture from this path using the MDM Data Manager everything is fine and if a look at the entries created (using the RetrieveGroupTree Command) all entries have type DIRECTORY_LOCATION. Strange. I tried setting this type also for the
fileserver part of the path but this gives also a unspecified server error.
I would really appreciate some working code fragment.Don't know if this helps you or not, but I found a work around. Instead of using the "Export" option, I used "Send to" and selected iDVD. It exports the Keynote presentation as a Quicktime movie with very high video and audio settings, which means a larger file size, but Final Cut seems to recognize the file now. This is not a proper way of doing it, so I will keep a close eye out for other responses to this thread. I'm sure the problem has to do with a specific set of export settings that you have to change, but I tried a bunch and none of them seem to work. This "Send to" technique seems to do the job (though you have to go through the hassle of quitting iDVD once you have the QT file on your desktop.)
-
Please help with multiple insert query into nested table!!!!
I am having a problem with inserting multiple references to objects into a nested table using the following query:
INSERT INTO TABLE(SELECT Taken_by FROM courses WHERE course_number= 001)
(SELECT REF(p) FROM persons p
WHERE p.enroled_in = 'Computing for Business'
The database says that p.enroled_in is an invalid identifier. I know why this is. This is because the field enroled_in is part of a subtype of person called student_type and the query above is not accounting for this properly. I would like to know the correct syntax to use so I can insert into the nested table wherever a student is enroled into the 'computing for business' course. My full schema is below:
CREATE TYPE person_type;
CREATE TYPE student_type;
CREATE TYPE staff_type;
CREATE TYPE course_type;
CREATE TYPE module_type;
CREATE TYPE address_type AS OBJECT
Street VARCHAR2 (30),
Town VARCHAR2 (30),
County VARCHAR2 (30),
Postcode VARCHAR2 (9)
CREATE TYPE person_type AS OBJECT
Name VARCHAR2 (50),
Address address_type,
DOB DATE
) NOT FINAL;
CREATE TYPE staff_type UNDER person_type
Staff_number NUMBER (2,0)
) FINAL;
CREATE TYPE student_type UNDER person_type (
Student_number NUMBER (2,0),
Enroled_in VARCHAR2(50),
MEMBER FUNCTION getAge RETURN NUMBER
)NOT FINAL;
CREATE OR REPLACE TYPE BODY student_type AS
MEMBER FUNCTION getAge RETURN NUMBER AS
BEGIN
RETURN Trunc(Months_Between(Sysdate, DOB)/12);
END getAge;
END;
CREATE TYPE module_type AS OBJECT
Module_number VARCHAR2(6),
Module_name VARCHAR2(50),
Credit NUMBER(2,0),
Taught_in VARCHAR2(50)
CREATE TYPE students_tab AS TABLE OF REF person_type;
CREATE TYPE modules_tab AS TABLE OF REF module_type;
CREATE TYPE course_type AS OBJECT
Course_number NUMBER (2,0),
Course_name VARCHAR2(50),
Dept_name VARCHAR2(50),
Taken_by Students_tab,
Contains Modules_tab
CREATE TABLE modules OF module_type(
constraint pk_modules primary key (Module_number)
CREATE TABLE courses OF course_type(
constraint pk_courses primary key (Course_number)
NESTED TABLE Taken_by STORE AS students_nt,
NESTED TABLE Contains STORE AS modules_nt;By the way I am using oracle 9i and trying to insert into the nested table data from a subtype (i.e student is a subtype of person)
-
Importing into partitioned table from unpartitioned table
I have taken export of a unpartitioned table using datapump.
I want to import data using these dumpfiles into a partitioned table using impdp.
Can you please provide me the basic script, I have tried running using the following script and I got the following error.
noarg impdp $SCHEMA/$pw TABLES=\(ITPCS.ITPCS_BOM_GRT_SCAN\) EXCLUDE=STATISTICS parallel=4 dumpfile=dumpdir:exptable%U.dmp logfile=logdir:imptab2.log job_name=imptables_3 content=DATA_ONLY EXCLUDE=constraint,index,materialized_view
Processing object type TABLE_EXPORT/TABLE/TBL_TABLE_DATA/TABLE/TABLE_DATA
ORA-31693: Table data object "ITPCS"."ITPCS_BOM_GRT_SCAN" failed to load/unload and is being skipped due to error:
ORA-00942: table or view does not exist
ORA-06512: at "SYS.KUPD$DATA", line 1167
ORA-14400: inserted partition key does not map to any partition
Job "SYSTEM"."IMPTABLES_3" completed with 1 error(s) at 08:02pankaj2086 wrote:
I have taken export of a unpartitioned table using datapump.
I want to import data using these dumpfiles into a partitioned table using impdp.
Can you please provide me the basic script, I have tried running using the following script and I got the following error.
noarg impdp $SCHEMA/$pw TABLES=\(ITPCS.ITPCS_BOM_GRT_SCAN\) EXCLUDE=STATISTICS parallel=4 dumpfile=dumpdir:exptable%U.dmp logfile=logdir:imptab2.log job_name=imptables_3 content=DATA_ONLY EXCLUDE=constraint,index,materialized_view
Processing object type TABLE_EXPORT/TABLE/TBL_TABLE_DATA/TABLE/TABLE_DATA
ORA-31693: Table data object "ITPCS"."ITPCS_BOM_GRT_SCAN" failed to load/unload and is being skipped due to error:
ORA-00942: table or view does not existWhat do you suppose the ora-00942 means? Looks pretty self explanatory to me. Have you looked it up? Have you verified that the target table exists in the target database?
ORA-06512: at "SYS.KUPD$DATA", line 1167
ORA-14400: inserted partition key does not map to any partitionAnd if the target table does exist, what do you suppose the ora-14400 means? Looks pretty self explanatory to me. Have you looked it up? -
Multiple parallel loads into one table with TABLE LOCK option
Hi everyone:
We have several SSIS packages where each package has the basic design of having one sequence container. Inside each sequence container can be anywhere from 2 - 9 data flow tasks where for each data is selected from a different table but all 2-9 tasks do
an OLEDB fast load (with table lock option checked) into the same single destination table.
The number of rows were pulling from the various sources might be anywhere from 5 up to 100,000.
Right now this doesn't seem to be causing any issues, but I wanted to check to see if this set up (since we're doing a review) could potentially cause problems down the road?
We seem to think that each parallel task will acquire its data as normal, and just won't be able to insert until one of the other parallel tasks completes its fast load. To us, that's no big deal as we're at least able to acquire the data in parallel.
What are everyone's thoughts?
Thanks!>>>We seem to think that each parallel task will acquire its data as normal, and just won't be able to insert
until one >>>of the other parallel tasks completes its fast load.
That is correct observation.
Best Regards,Uri Dimant SQL Server MVP,
http://sqlblog.com/blogs/uri_dimant/
MS SQL optimization: MS SQL Development and Optimization
MS SQL Consulting:
Large scale of database and data cleansing
Remote DBA Services:
Improves MS SQL Database Performance
SQL Server Integration Services:
Business Intelligence -
DM Error on "Import into Fact Table with Clear"
Hi,
I just got the following error on executing an import.
The number of failing rows exceeds the maximum specified. (Microsoft Data Transformation Services
(DTS) Data Pump (80042028): TransformCopy 'DTSTransformation__7' conversion error: Destination
overflowed on column pair 1 (source column 'SIGNEDDATA' (DBTYPE_STR), destination
column 'SIGNEDDATA' (DBTYPE_NUMERIC)).)
I have a very simple import, with a convertion file only changing one member name (in the data file) into another (in the application).
Can anybody point towards where the problem can be so I can investigate further?
Regards,
RafaHi all,
as an update, aware of this thread BPC 7.0 MS-Transformation File Error Duplicated Signeddata I inserted an Amount=SignedData in my transformation file, but still same error. As suggested in that thread I tried to import the data file with only 2 records, and it worked ok!! In my case I don't think it is a problem with the data as I am trying to import a data file that I have just exported from a similar application.
So I export data into a file, try to import it and have the mentioned error. I delete all the rows but 5, try to import it and it works.
Any ideas?
Regards,
Rafa
Maybe you are looking for
-
Follow-Up Transaction in WebClient UI
Hello, I want to create a follow-document in Web UI. Copy Control works in SAP GUI but when I press the button for Follow-Up in Web UI no transaction types are displayed in the PopUp. Any idea of how to solve this? Best Regards JM
-
'Use minimum version required by the Flex SDK' setting question
Hi, Can someone explain why after downloading the latest stable Hero SDK (build 19786), which only has fp10.2 support in the framwork/libs/player directory, would the 'Use minimum version required by the Flex SDK' build property still tell Flash Buil
-
Advanced motion paths in Keynote?
Is it possible to create advanced motion paths in Keynote? I want to make a motion of a circle moving from left to right while the circle is growing bigger. Is that possible in Keynote?
-
Revision: 11626 Author: [email protected] Date: 2009-11-10 12:15:58 -0800 (Tue, 10 Nov 2009) Log Message: Added TestContentProtectable Trait's test to the 10.0 build target (previously was protected via 10.1 compile target). Modified Paths:
-
Post Author: DWH_ETL_RMH CA Forum: Administration Hi, Please help me out from this issue. I had given an Universe from 5.1 version and my business wanted this older universe to be opened in Business Objects XI res 2. i had tried out the best poss