Tag an UCM document into multiple records
What is the best way to tag a document into multiple records in UCM 11g ? In my webcenter application , a builder having site with many plots (say 100) wants a document in UCM to be tagged against some selective plots(say 1-10). He can again change the tagging (ie. he can add more plots or remove the tag from existing etc) . Each home owner will have either one or more plots . When the home owner logs in, he should be able to see that document which is tagged against that plot.
Thanks ....
Hi wilsonea,
You're probably thinking of InDesign's Data Merge function. Here are two links that may help you decide if this is what you're thinking of doing:
InDesign Help | Data merge
How to data merge in InDesign tutorial - YouTube
If this is what you're thinking of, you'll need the design laid out in InDesign and a CSV file. The above YouTube video provides a decent instructions on this.
When you save your Excel file as a CSV file, I recommend that you also save it as a XLS (not XLSX) file too. The CSV file will not save any formatting (like column widths and cell formatting), which makes it difficult to read the cell content whenever I have to use the file often.
Hope this helps. Cheers!
Similar Messages
-
Insert Insert XML file into multiple records in Oracle Database
I would like to find out if it is possible to insert a single XML file into multiple records or tuples in a Oracle database table. I have a single XML file which is at multiple levels. The meta data for the levels are common and each level can have meta data of their own in addition. I do not have any meta data field which will uniquely determine whether the data belongs to Root level, Intermediate level or at the document level. Is there any way I can determine which level the meta data belongs to and thereby make a corresponding entry into the database table tuple? For example I could have an attribute called level which is going to be present only in the database table and not in the XML file. If level=1 then it corresponds to "Root" meta data, if level=2 then it corresponds to "Intermediate" level and if level=3 then it corresponds to meta data at document level. I need a way to calculate the value for level from the XML file and thereby insert the meta data element into a tuple in a single table in Oracle.
Hi,
extract your xml and then you can use insert all clause.
here's very small example on 10.2.0.1.0
SQL> create table table1(id number,val varchar2(10));
Table created.
SQL> create table table2(id number,val varchar2(10));
Table created.
SQL> insert all
2 into table1 values(id,val)
3 into table2 values(id2,val2)
4 select extractValue(x.col,'/a/id1') id
5 ,extractValue(x.col,'/a/value') val
6 ,extractValue(x.col,'/a/value2') val2
7 ,extractValue(x.col,'/a/id2') id2
8 from (select xmltype('<a><id1>1</id1><value>a</value><id2>2</id2><value2>b</value2></a>') col from dual) x;
2 rows created.
SQL> select * from table1;
ID VAL
1 a
SQL> select * from table2;
ID VAL
2 b Ants -
XML document into multiple tables
How to insert a xml document into multiple tables. Eg. Purchase Order having multiple line items. I have to insert xml document into Parent as well as child with different sets of columns.
I created the tables using the create_ch14_tables.sql. I call it using java -classpath .;C:\commerceone\xpc\lib\xmlparserv2.jar;C:\commerceone\xpc\lib\classes12.zip;C:\commerceone\xpc\lib\xsu12.jar XMLLoader -file deptempdepend.xml -connName default -transform deptempdepend.xsl. The code doesn't seem to like the "<xsl:for-each select="Department">" tags. If I remove them, the insDoc.getDocumentElement().getFirstChild() will find the element, but it still doesn't insert anything into the database.
Thank You,
Dave -
"Save as PDF" breaks up the document into multiple PDFs
Ever since my Lion install, when I open a doc in MSWord and try to "Save as PDF", it breaks up the document into multiple PDFs, not one saved PDF. Haven't seen this problem before. Anyone else experiencing this new "feature"?
What version of Word? It's working fine with my Word 2011 on Lion. (version 14.1.2. Applied SP1 and the .2 update.)
A workaround would be to print, then select the PDF dropdown in the lower corner of the print window.
Otherwise, you'll probably want to ask in the Microsoft forums, as Save As is using Word's programming code, not OSX's code like it does with the print function. -
Split a record into multiple records
Hi,
I have situation where i need to split a record into multiple records.
InputData :
value|BeginDate |EndDate
15 |2002/10/15|2002/10/16
13 |2002/10/13|2002/10/20
19 |2002/10/19|2002/10/23
10 |2002/10/10|2002/10/12
OutPut :
10 |2002/10/10|2002/10/12
13 |2002/10/13|2002/10/15
15 |2002/10/15|2002/10/16
13 |2002/10/16|2002/10/19
19 |2002/10/19|2002/10/23
ThanksHi ,
As a far I understood from your example ,
I have few questions...
1. You have information about the patient in a 1 source table.
2. how u are identifying for patient X u need 5 rows to be created. R u storing these informations in seprate table or how ...
3. if you have these information in a seperate tables ..... a simple cross join in ODI should get you the expected result.....
Or give some more information with a example ..that would be great ...
Thanks -
i use Exchange to sync my iphone4S with Outlook. On my iphone, my contacts are split into multiple records if they have more than one email address - how can I consolidate them on the iphone
I have loaded my Firefox bookmarks into Internet Explorer Favorited. I also uninstalled Safari.
I go to iTunes on my phone and see no wat to connect my iPhone to my laptop. I see Music, Shows, etc., the kind of stuff I would expect, but no clue as to how to proceed.
Would you please be so kind to fill me in on how to "That syncing is done via iTunes. Connect the device to iTunes, select it, then go to the Summary page and select to sync bookmarks."?
I am not sure what you mean by "Summary Page"
Thank you -
Split a record into multiple records (rows)
I am using ODI to move data from source system to target system .Both are Oracle . In the source system I have a record which I need to split into multiple records or rows in the target system based on some rules . How can I achieve this in ODI . Please explain
Hi ,
As a far I understood from your example ,
I have few questions...
1. You have information about the patient in a 1 source table.
2. how u are identifying for patient X u need 5 rows to be created. R u storing these informations in seprate table or how ...
3. if you have these information in a seperate tables ..... a simple cross join in ODI should get you the expected result.....
Or give some more information with a example ..that would be great ...
Thanks -
Split XML into multiple records
Hi All,
I have to split an XML field from a data type into multiple records on the target side.
For eg: If the source XML string is something like this:
<XML_STRING>
<Data>
<name>abc</name>
<place></place>
<addr1> </addr1>
<addr2></addr2>
</place>
<name>xyz<name>
<place>
<addr1></addr1>
<addr2></addr2>
</place>
</Data>
</XML_STRING>
Since the above XML string has two records in it (each record includes name and place), I would like to split those two into two separate records in the target structure and send it to ECC.
How can I achieve this in PI mapping. Here in this case I cannot even differentiate between <> </> to split the messages since a single records might have multiple sub nodes in it. It is only believed that when "<name>" repeats again in the XML that would be a start of new record. Based upon that I need to split the records.
Thanks in advance!!Hi Shweta,
Minor correction is required for you source structure. Please follow Amit or Vila suggestion for content conversion.
Did mapping as per your requirement. Please find the screen shot below. Please note the structure and cardinality of the element and node field.
Hope result is as per your requirement.
Regards
Jitender -
Splitting the single record into multiple records based on validity
Hi Guru's,
basically i am an BI consultant with less knowledge on ABAP, can i request your help on the ABAP task.
I am working on HR module which is integrated with SAP BI, the reports will be executed based on calendar month the requirement is i should split the single record into a multiple records based on validity of the record. basically the HR data would be in data from and date to.
below is the logic
Check whether the start and end date of the record are in the same month and year.
If yes nothing changes
If no create multiple records
1st record original start date of the record u2018till end of that month
Following record 1st of the next month u2018till last day of the month
u2026
Last record 1st of the month u2018till original end date.
All fields will have the same values, only the datefrom and dateto fields change.
Can any one please provide me the same code to proceed on my task.
Thanks and Regards,
VenkatHi,
Using Rule group we can split it.
Using Rule Group in SAP-BI Part - 1
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/com.sap.km.cm.docs/library/business-intelligence/s-u/using%20rule%20group%20in%20sap-bi%20%20part%20-%201.pdf
Thanks
Reddy -
Split one record into multiple records in Update Rules
Hello All,
I am trying to split a single record from R/3 into 2 records.
My data flow is form R/3 > PSA > ODS > Cube
when loading data into ODS i have to add the original record as it is to ODS. For second record i have to check a condition, & change few keyfigure values to 0 and fill an extra field.
Example:
Record in R/3 :
Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION|
02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 |
Record in BW Comm_Structure.
In Transfer rules i m writing an extra field to the R/3 record.
Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION| NEW_FIELD |
02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 2546352 |
NEW_FIELD transfer routine :
If employee NE 0
Result = employee
else.
Result = 0 .
Till this point everything works fine.
Now i want to load this record into an ODS. I want to split the above single record into 2 records.
Records in ODS should be :
Month | %1 | %2 | %3 | % 4 | ORGUNIT | JOB| EMPLOYEE| POSITION| NEW_FIELD |
02.2006 | 0 | 1 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 0 |
02.2006 | 0 | 0 | 0 | 0 | 3000000| 248 | 2546352 | 500000 | 2546352 |
Condition for NEW_FIELD.
For first record always NEW_FIELD =0.
For Second Record
If NEW_FIELD NE 0.
Cahnge KF's %1, %2, %3, %4 = 0.
If EMPLOYEE is 0 then no need to create extra record.
I tried to use achieve this using return table, but no success.
Can any one help me with ABAP syntax please. I am bit weak in ABAP Programming.
Thanks in advance.
POPSDear:
You could do so in update routines. Select the 'return table' option.
useful links:
https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=2906656
https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=913873
https://forums.sdn.sap.com/click.jspa?searchID=10118555&messageID=2441579
Thanks -
I am trying to split a document into multiple files and it won't let me
I have opened my file in Adoble Acrobat Pro, for which I have a year subscription, and the option to split the document is gray (not applicable). Why would this not be an option? This file contains multiple docs that were merged into one for ease while emailing. Now I need to split them back up. Shouldn't I be able to do this with Acrobat Pro?
Hi adminkg&a,
It sounds like the file may have security applied to prevent alteration. Do you see "Secured" in the document's title bar?
Best,
Sara -
How can I split up a 248 sites document into multiple 8 sites documents?
Hi, i made an really big indesign document (248 sites, >300mb). The print guy now doesn't want that. He wants multiple 8 pages documents (yes open indesign documents - not pdf or something).
How can I do this without messing up my whole document?
I also have another question.. I once made a task in InCopy for testing purposes, but now i don't want it anymore. I deleted the folder where it was in, and now i keep getting an error at the start of the document that the task isn't there anymore. How can i complete delete this task out of Indesign, so that he doesn't even search for this task thing.
Sorry for being a noob
Thanks in advance!The correct answer is that you need to find a new printer, but you can use the Move Pages command in the Pages panel flyout menu to move pages in chunks of 8 into new files. Rename the A master page first to preserve it (identically named master pages and styles will be redefined to use the definitions in the receiving document), and move the pages "before" page 1 in the new file so they don't switch sides of the spread. Delete the blank page 9 after moving. You'll also need to set the start page number for each file (or you can let ID do that by combining them into a Book (.indb) afterwards.
This is going to destroy hyperlinks and cross-references, if you used them, the TOC or index if they need to be updated, and it's going to do bad things to threaded text across the document breaks. -
Spilting a record into multiple record
Hi experts, need your help for your to frame a query for the below requirement
Scenario 1
For a same store fetch the record with least priority (35) and check if the Servicearea begin date & Servicearea end date of that store is minimum for that group.
If minimum then select that record alone as shown below
Item DC Store Serviceare Bgn Date Service Area End date Priority
9856698 1469 2952 3/5/2011 12/31/9999 100
9856698 3107 2952 12/10/2011 8/3/2012 35
Item DC Store St Date End date Priority
9856698 3107 2952 12/10/2011 8/3/2012 35
Scenario 2
For a same store fetch the record with least priority (35) and check if the Servicearea begin date & Servicearea end date of that store is minimum for that group.
If not minimum split the records for that group as shown below and select the record which has the lowest priority(35) and with minimum startdate and end date range.
Item DC Store Serviceare Bgn Date Service Area End date Priority
9856698 1469 2952 3/5/2011 12/31/9999 35
9856698 3107 2952 12/10/2011 8/3/2012 100
Item DC Store St Date End date Priority
9856698 1469 2952 3/5/2011 12/9/2011 35
9856698 3107 2952 12/10/2011 8/3/2012 100
9856698 1469 2952 8/4/2012 12/31/9999 35Here comes the scenarios.....
Scenario 1
Query should check for priority record(25), if the start_date and end_date of that priority record is the max i that group, records will not have any split.
output will be the same.
DC Store St Date End date Priority
955 3 1/1/2010 12/31/9999 25
966 3 4/5/2011 10/10/2011 50
977 3 10/12/2011 12/12/2012 100
output Priority
955 3 1/1/2010 12/31/9999 25 1
966 3 4/5/2011 10/10/2011 50 2
977 3 10/12/2011 12/12/2012 100 3
Scenario 2
If priority record is not covering the max range, then split the records as shown below,
1. during the time period 1/1/2011 & 4/30/2011 there were no other DC for that store so rank would be 1
2. the next range would be 5/1/2011 to 6/29/2011 we have 2 records in service so the record with low priortiy would be ranked 1 and second priority would be ranked 2
3. similarly, for 6/30/2011 to 10/1/2011 we have 3 records in service and it will be ranked accordingly on the priority.
DC Store St Date End date Priority
966 3 6/30/2011 10/1/2011 25
955 3 5/1/2011 11/30/2011 50
977 3 1/1/2011 12/31/2011 100
output Priority
977 3 1/1/2011 4/30/2011 100 1
955 3 5/1/2011 6/29/2011 50 1
977 3 5/1/2011 6/29/2011 100 2
966 3 6/30/2011 10/1/2011 25 1
955 3 6/30/2011 10/1/2011 50 2
977 3 6/30/2011 10/1/2011 100 3
955 3 10/2/2011 11/30/2011 50 1
977 3 10/2/2011 11/30/2011 100 2
977 3 12/1/2011 12/31/2011 100 1
Scenario 3
This works similar to scenario 2
DC Store St Date End date Priority
966 3 2/1/2011 12/31/2011 25
955 3 1/1/2011 12/31/2012 50
977 3 5/1/2011 06/31/2011 100
output Priority
955 3 1/1/2011 1/31/2011 50 1
966 3 2/1/2011 12/31/2011 25 1
955 3 2/1/2011 12/31/2011 50 2
977 3 5/1/2011 6/30/2011 100 3
955 3 1/1/2012 12/31/2012 50 1 -
Split and reformat single record into multiple records
Hi ,
I need to split 1 record in to 2 records with 1 new field(event)
I have one internal table in this format
No country stdate enddate
1 us 12/01/2006 10/07/2007
i need to reformat this record like ;
NO country event pldate acdate
1 us ga 12/01/2006 12/01/2006
1 us es 10/07/2007 10/07/2007
Can any one resolve this issue?Check the example.
report zrich_0001 .
data: begin of itab occurs 0,
no type i,
country(3) type c,
stdate type sy-datum,
enddate type sy-datum,
end of itab.
data: begin of itab2 occurs 0,
no type i,
country(3) type c,
event(2) type c,
stdate type sy-datum,
enddate type sy-datum,
end of itab2.
itab-no = 1.
itab-country = 'US'.
itab-stdate = '20061201'.
itab-enddate = '20071007'.
append itab.
loop at itab.
clear itab2.
move-corresponding itab to itab2.
itab2-event = 'GA'.
itab2-enddate = itab-stdate.
append itab2.
clear itab2.
move-corresponding itab to itab2.
itab2-event = 'ES'.
itab2-stdate = itab-enddate.
append itab2.
endloop.
loop at itab2.
write:/ itab2-no, itab2-country, itab2-event,
itab2-stdate, itab2-enddate.
endloop.
Regards,
Rich Heilman -
Regarding ssis - split multi value column into multiple records
Hi,
I have one scenario
Table
Col1. Col2
1. A,b,c,df,ghf
2. C,b
3. B
Output should be
Col1. Col2
1. A
1. B
1. C
1. Df
1. Ghf
2. C
2. B
3. B
please helpTry the below:
Create TVF as below:
CREATE FUNCTION [dbo].[split]
( @String NVARCHAR(4000), @Delimiter NCHAR(1) )
RETURNS TABLE
AS
RETURN
With Split(stpos, endpos)
AS (
SELECT 0 AS stpos, CHARINDEX(@Delimiter, @String) AS endpos
UNION ALL
SELECT endpos + 1, CHARINDEX(@Delimiter, @String, endpos + 1)
FROM Split
WHERE endpos > 0
SELECT 'Id' = ROW_NUMBER() OVER (ORDER BY (SELECT 1)),
'Data' = SUBSTRING(@String, stpos, COALESCE(NULLIF(endpos,0), LEN(@String)+1)-stpos)
FROM Split
Test script:
create Table Test_Table(id int, data varchar(4000))
Insert into Test_Table Values(1,'a,F,c, G'),(2,'LASD,wer,yy')
Select A.id,upper(Left(b.Data,1)) + lower(Right(b.data, Len(b.data) - 1)) From Test_Table A
Cross Apply dbo.split(A.data,',') B
Drop table Test_Table
Maybe you are looking for
-
Cannot see most recent files when attaching
I've had this problem for a while. Currently using OS X Mavericks, 10.9.4 (latest version) and Mail 7.3 (also latest build). Saved a file to Documents, then opened Mail and attempted to attach it. Finder window opens, but my most recent files viewed
-
Can I use Apple TV with Sony Bravia LCD TV?
Hello everyone, I'm thinking of buying an Apple TV, but my TV does not have HDMI cable, it is a Sony Bravia LCD (here are the specs: http://reviews.cnet.com/flat-panel-tvs/sony-klv-20g400a-20/1707-6482_7-33664951. html) It has component and composite
-
Every File I export in AE has a blue/purple saturation overlay on it????
I just started using AE and only for twixtor, i thought my problem was in the twitor exporting that my kayak (in the video shot) turned purple after the render (originally red) amonst other colour distortions. I literally dragged the .mov / .mp4 /.M
-
I keep getting plagued by those pesky RIM messages.
I've had my BB 8320 for 21 months now and for about 18 of those I was getting the RIM messages and just put up with them until they just got so unbearable that I ranted to a friend about it. He pointed me in the direction of this forum, which helped
-
Have E4200 has been running 6 months. Have it now installed in my new home and it was so fast in download and upload with Cox Preferred. It has slowly been loosing it punch wirelsss I hit 1.5 to 8.5 download by ethernet 8-10 really slow especially wh