Creating new Layout problem with merged table within std_resources.htm
Dear All,
i am relatively new to oracle ucm and i am trying to add new comonent to create new layout from oracle Create and Modify Layout Sample Component* example under http://www.oracle.com/technetwork/middleware/content-management/index-092832.html .
i want to ask about the following
in this component i have CreateLayout_Layouts Table, CreateLayout_PublishedWeblayoutFiles Table and CreateLayout_PublishedStaticFiles Table. These tables should be merged with LmLayouts table, PublishedWeblayoutFiles table and PublishedStaticFiles table respectively in the std_resources.htm file in the <install_dir>/shared/config/resources directory.
The problem is in my std_resources.htm file i have the following :
<tr>
<td>LmLayouts</td><td>LmLayouts</td><td>LmLayouts</td><td>id</td><td>label</td>
<td></td><td>7.3</td><td>1</td>
</tr>
how can i add (merge) the CreateLayout_Layouts Table in LmLayouts table? what is should fill the <td>s ?
for PublishedWeblayoutFiles table and PublishedStaticFiles table they are not exist in my std_resources.htm file. are there names changed? or shall i add them(if yes, what is the <td>s had inside).
note: i will be greatfull if someone have the std_resources.htm that have the above tables merged with the specified ones.
I believe that sample is old. i have been pushing to get an updated version out also. Hopefully the fragmentary information I will give here will help.
The main changes are dynamic data tables which replace the includes to control the menu items and relationships. The old things should work still but good to use the new. At the end is an example of merge rules.
See 3.5.2 Dynamic Data Tables
http://docs.oracle.com/cd/E21764_01/doc.1111/e10807/c03_components.htm
==============================
CoreMenuItemRelationships table example
<?commatable mergeKey="primaryKey" derivedColumns="primaryKey:parentId+id"?>
parentId, id, loadOrder
MY_CONTENT, NEW_PAGE, 9000
================================
CoreMenuItems table example
<?commatable mergeKey="primaryKey" derivedColumns="primaryKey:parentId+id"?>
id, label, linkType, linkData
NEW_PAGE, wwNewPage, cgi, IdcService=GET_DOC_PAGE&Action=GetTemplatePage&Page=NEW_PAGE
============================
CoreMenuItemsFlags table example
<?commatable indexedColumns="id"?>
id, flags
WORK_IN_PROGRESS, isSubAdmin
=======================
CoreMenuItemsImages table example
<?commatable indexedColumns="id"?>
id, image, imageOpen
ACTIVE_WORKFLOWS, ReviewContent.gif,
Glue file example: (note I am not willing to upload a zip file of a full component sorry)
<?hda version="11gR1-dev" jcharset="UTF8" encoding="utf-8"?>
@Properties LocalData
ComponentName=NewLayout
blDateFormat=M/d/yyyy {h:mm[:ss] {aa}[zzz]}!mAM,PM!tAmerica/Chicago
hasPreferenceData=0
preventAdditionalComponentDowngrade=0
serverVersion=7.1
version=2011_11_13-dev
@end
@ResultSet ResourceDefinition
4
type
filename
tables
loadOrder
resource
resources/newlayout_resource.htm
null
10
template
templates/newlayout_template.hda
null
10
resource
resources/newlayout_strings.htm
null
10
@end
@ResultSet Filters
4
type
location
parameter
loadOrder
@end
@ResultSet MergeRules
4
fromTable
toTable
column
loadOrder
NewLayout_Layouts
LmLayouts
id
10
NewLayout_PublishedWeblayoutFiles
PublishedWeblayoutFiles
path
10
NewLayout_PublishedStaticFiles
PublishedStaticFiles
null
10
NewLayout_LayoutSkinPairs
LmLayoutSkinPairs
null
10
NewLayout_Templates
IntradocTemplates
name
10
@end
@ResultSet ClassAliases
3
classname
location
loadOrder
@end
Similar Messages
-
Problem with maintain table views SM30 Transaction
Hello All,
i have a problem with the table maintenance view SM30, it doesn't permit me to modify the rows in the table.
we have added a field into the table and when i tried to change the table view from menu: Utilities ==> table maintenance generator==> change the system propose me a message that the screen 0001 will be deleted and recreated...but the system has deleted the screen and doesn't recreate it...in somewehere on internet we find that we should use the transaction SE55 menu:
Environment==> modification ==> Maintenance screen ==> button Layout which open the tool Screen Painter and from that we have created our screen with 4 fields of our table...our result that the screen is created and i can see it from the SM30 transaction but i can't insert rows in the table...when i try to go to maintain table: menu: Utilities ==> Table maintenance generator to try if i can modify something the system give me a message: "set the compare flag dialog ZIV_DP_PLCHAR_LA"
the ZIV_DP_PLCHAR_LA is the name of my table...
can you give me some advices please how should i do to fix this problem to insert rows in table throughout the transaction
SM30 "maintain table views: initial screen"
if i want to delete the screen from the SE55 transaction to recreate it newly what should i do to take care about some options
to have a new screen?
thanks for all
BilalHi
First delete the old table maintainence generator.
Now Recreate the screen and your table is good to go..
These error messages come when we add new fields and different version of the table maintainence generator in database. -
Problems with partition tables
Hi all,
I've got some problems with partition tables. The script at the bottom run but when I wanna insert some values it returns me an error
(ORA-06550: line 1, column 30: PL/SQL: ORA-06552: PL/SQL: Compilation unit analysis terminated
ORA-06553: PLS-320: the declaration of the type of this expression is incomplete or malformed
ORA-06550: line 1, column 7: PL/SQL: SQL Statement ignored)
and I can't understand why!
There's something incorrect in the script or not?
Please help me
Thanks in advance
Steve
CREATE TABLE TW_E_CUSTOMER_UNIFIED
ID_CUSTOMER_UNIFIED VARCHAR2 (27) NOT NULL ,
START_VALIDITY_DATE DATE NOT NULL ,
END_VALIDITY_DATE DATE ,
CUSTOMER_STATUS VARCHAR2 (255)
PARTITION BY RANGE (START_VALIDITY_DATE)
SUBPARTITION BY LIST (END_VALIDITY_DATE)
PARTITION M200909 VALUES LESS THAN (TO_DATE('20091001','YYYYMMDD'))
(SUBPARTITION M200909_N VALUES (NULL), SUBPARTITION M200909_NN VALUES (DEFAULT)),
PARTITION M200910 VALUES LESS THAN (TO_DATE('20091101','YYYYMMDD'))
(SUBPARTITION M200910_N VALUES (NULL), SUBPARTITION M200910_NN VALUES (DEFAULT)),
PARTITION M200911 VALUES LESS THAN (TO_DATE('20091201','YYYYMMDD'))
(SUBPARTITION M200911_N VALUES (NULL), SUBPARTITION M200911_NN VALUES (DEFAULT)),
PARTITION M200912 VALUES LESS THAN (TO_DATE('20100101','YYYYMMDD'))
(SUBPARTITION M200912_N VALUES (NULL), SUBPARTITION M200912_NN VALUES (DEFAULT)),
PARTITION M201001 VALUES LESS THAN (TO_DATE('20100201','YYYYMMDD'))
(SUBPARTITION M201001_N VALUES (NULL), SUBPARTITION M201001_NN VALUES (DEFAULT)),
PARTITION M201002 VALUES LESS THAN (TO_DATE('20100301','YYYYMMDD'))
(SUBPARTITION M201002_N VALUES (NULL), SUBPARTITION M201002_NN VALUES (DEFAULT)),
PARTITION M210001 VALUES LESS THAN (MAXVALUE))
(SUBPARTITION M210001_N VALUES (NULL), SUBPARTITION M210001_NN VALUES (DEFAULT))
;Hi Hoek,
the DB version is 10.2 (italian version, then SET is correct).
...there's something strange: now I can INSERT rows but I can't update them!
I'm using this command string:
UPDATE TW_E_CUSTOMER_UNIFIED SET END_VALIDITY_DATE = TO_DATE('09-SET-09', 'DD-MON-RR') WHERE
id_customer_unified = '123' and start_validity_date = TO_DATE('09-SET-09', 'DD-MON-RR');
And this is the error:
Error SQL: ORA-14402: updating partition key column would cause a partition change
14402. 00000 - "updating partition key column would cause a partition change"
*Cause: An UPDATE statement attempted to change the value of a partition
key column causing migration of the row to another partition
*Action: Do not attempt to update a partition key column or make sure that
the new partition key is within the range containing the old
partition key.
I think that is impossible to use a PARTITION/SUBPARTITION like that: in fact the update of "END_VALIDITY_DATE" cause a partition change.
Do u agree or it's possible an update on a field that implies a partition change?
Regards Steve -
Problem with the table control BDC in FV60 transaction
Hi All,
I got the problem with the table control in FV60 transaction.
This is working for 900 line items.After 900 line items it is giving the problem like it is 1000th line item.You can post only 999 line items.
I know we can post only 999 line items,but in my file only 920 line items.
Please give me solution,if anybody come across this situation.
Thanks & regards,
rakesh.Hello Rakesh ,
your file may have only 920 line items , but based on those line items, SAP may create few more new lines ( based on the clearing recon accounts , inter company transaction ...etc )...
regards
Prabhu -
Can't create new pdfs from powerpoint; either form within Adobe or within powerpoint. I could do this yesterday and today it won't work for some reason. The error says "an unexpected error occurred. PDFMaker was unable to produce the Adobe PDF. How do I fix this?
Is there a log file in the document folder indicating what the problem was. There are a number of reasons that PDF creation may fail. You can try to print to the Adobe PDF printer to see if there is any indication in that process. The processing is different, but the same problems may show up with both processes.
-
Problems with a table in PDF`S footer
Dear sirs,
We are having problems when trying to run a PDF with Adobe LiveCycle Designer tool.
We are working with a PDF which is composed of a header, the main body and a footer. We have created a table (table1) at the footer and
another one at the main body (table2). This last table (table2) may overflow therefore it will genarate two pages for our PDF.
On both pages appear the header and the footer correctly but in the last page it does not write the data from the table included in the footer (table1).
We have no problems with the table included in the main body
In the attachments, I send you the screenshots of both pages in which I have marked in red the part where we have error.
May you help us to solve our problem?
Thanks in advance your help.
Edited by: emgaitan on Mar 16, 2010 2:18 PMWardell,
Check the data in RSA3 for the extractor that you use to bring data .
You must be using the data source 0CO_OM_CCA_09. Check the data and reconcile and you will get it.
Let me know if you need anything else.
Thanks
Ravi Thothadri
[email protected] -
Performance problem with MERGE statement
Version : 11.1.0.7.0
I have an insert statement like following which is taking less than 2 secs to complete and inserts around 4000 rows:
INSERT INTO sch.tab1
(c1,c2,c3)
SELECT c1,c2,c3
FROM sch1.tab1@dblink
WHERE c1 IN (SELECT c1 FROM sch1.tab2@dblink);I wanted to change it to a MERGE statement just to avoid duplicate data. I changed it to following :
MERGE INTO sch.tab1 t1
USING (SELECT c1,c2,c3
FROM sch1.tab1@dblink
WHERE c1 IN (SELECT c1 FROM sch1.tab2@dblink) t2
ON (t1.c1 = t2.c1)
WHEN NOT MATCHED THEN
INSERT (t1.c1,t1.c2,t1.c3)
VALUES (t2.c1,t2.c2,t2.c3);The MERGE statement is taking more than 2 mins (and I stopped the execution after that). I removed the WHERE clause subquery inside the subquery of the USING section and it executed in 1 sec.
If I execute the same select statement with the WHERE clause outside the MERGE statement, it takes just 1 sec to return the data.
Is there any known issue with MERGE statement while implementing using above scenario?riedelme wrote:
Are your join columns indexed?
Yes, the join columns are indexed.
You are doing a remote query inside the merge; remote queries can slow things down. Do you have to select all thr rows from the remote table? What if you copied them locally using a materialized view?Yes, I agree that remote queries will slow things down. But the same is not happening while select, insert and pl/sql. It happens only when we are using MERGE. I have to test what happens if we use a subquery refering to a local table or materialized view. Even if it works, I think there is still a problem with MERGE in case of remote subqueries (atleast till I test local queries). I wish some one can test similar scenarios so that we can know whether it is a genuine problem or some specific problem from my side.
>
BTW, I haven't had great luck with MERGE either :(. Last time I tried to use it I found it faster to use a loop with insert/update logic.
Edited by: riedelme on Jul 28, 2009 12:12 PM:) I used the same to overcome this situation. I think MERGE needs to be still improved functionally from Oracle side. I personally feel that it is one of the robust features to grace SQL or PL/SQL. -
Create new CBO statistics for the tables
Dear All,
I am facing bad performance in server.In SM50 I see that the read and delete process at table D010LINC takes
a longer time.how to create new CBO statistics for the tables D010TAB and D010INC. Please suggest.
Regards,
KumarHi,
I am facing problem in when save/activating any problem ,so sap has told me to create new CBO statistics for the tables D010TAB and D010INC
Now as you have suggest when tx db20
Table D010LINC
there error comes Table D010LINC does not exist in the ABAP Dictionary
Table D010TAB
Statistics are current (|Changes| < 50 %)
New Method C
New Sample Size
Old Method C Date 10.03.2010
Old Sample Size Time 07:39:37
Old Number 51,104,357 Deviation Old -> New 0 %
New Number 51,168,679 Deviation New -> Old 0 %
Inserted Rows 160,770 Percentage Too Old 0 %
Changed Rows 0 Percentage Too Old 0 %
Deleted Rows 96,448 Percentage Too New 0 %
Use O
Active Flag P
Analysis Method C
Sample Size
Please suggest
Regards,
Kumar -
Unbale to create new document part with same document number
Number range assigned to the X Document Type is internal. I have created new document (0001) with Document Part 000 & Version 00. For same Document Number when i tried to create New Document part by mentioning Document Numner 0001, Document Part 001 and Version 00, it says Document Type X can be assigned to internal number range only.
Even I tried with following selection....
Document Number = Blank
Document Part = 001
Document Version = 00
Template:
Document = 0001
Document Part = 000
Document Version = 00
Now system is creating document with new number i.e. 0002. But we want to create another document part with same Document Number. What is the problem with internal number range for Document Number?Hi Pradeep,
Following are the config parameter of the document type.
CM Relevnce = blank
Number assignmt= 01
Internal Number Range =02
External Number Range= blank
Number Exit =MCDOKZNR
Vers. No. Incr. =0
Version Sequence = blank
AlternativeScreen = blank
Let me know if you need anything more.
Edited by: JJSingh76 on Dec 7, 2010 7:25 PM -
I am getting problem with internal table & work area declaration.
I am working with 'makt' table ..with the table makt i need to work with styles attributes ..so i declared like this
TYPES : BEGIN OF ty_makt,
matnr TYPE makt-matnr,
spras TYPE makt-spras,
maktx TYPE makt-maktx,
maktg TYPE makt-maktg,
celltab TYPE lvc_t_styl,
END OF ty_makt.
DATA : i_makt TYPE TABLE OF ty_makt.
DATA : wa_makt TYPE ty_makt .
But end of program i need to update dbtable "makt"...i am getting problem with internal table & work area declaration.
i think makt table fields mapping and internal table/work area mapping is not correct. so please help me to get out from this.Hi Nagasankar,
TYPES : BEGIN OF TY_MATNR,
MATNR TYPE MAKT-MATNR,
SPRAS TYPE MAKT-SPRAS,
MAKTX TYPE MAKT-MAKTX,
MAKTX TYPE MAKT-MAKTG,
CELLTAB TYPE LVC_T_STYL, " Its Working perfectly fine..
END OF TY_MAKT.
DATA: IT_MAKT TYPE STANDARD TABLE OF TY_MAKT,
WA_MAKT TYPE TY_MAKT.
Its working perfectly fine. if still you are facing any issue post your complete code.
Thanks,
Sandeep -
Hi gurus,
I´ve a problem with a table control. It has 3 columns which one is a checkbox.
I can fill all fields but in the moment I mark the checkbox this line must be unwritable. How can I do it?
Thanks for all
DaniAssign a function code to the checkbox column....
so when u check / uncheck any entry, PAI + PBO will be triggered....
In the PBO during the loop of table control, check the checkbox field value. if it is 'X', make the row readonly
by looping at screen and setting screen-input = 0 for rest of the columns.
like ...
LOOP AT tc_itab
WITH CONTROL tc_test
CURSOR tc_test-current_line.
module set_row_readonly. " loop at screen and set input = '0' if checkbox is checked...
ENDLOOP. -
Problem with Pivot Table with Graph: Line Bar Combo
Hello people!
I have a problem with pivot table and line bar combo (all in the same view (pivot table))
I have some measures and one dimension in my report.
--------------measure1---measure2---measure3
Dim A.1
Dim A.2
Dim A.3
If I choose my graph line bar combo automatically choose "line" measure 3 (last measure in "Show Controls"). How can I do if I want my measure1 for line and I don't want modify my pivot table?
Thank you very much!Ok, I'll explain my problem again. In my pivot table I add graph vision and I want in the same view (Pivot table). My graph is "Line Bar Combo" and I don't know how but the last of my measures belongs to right AXIS, if I change order of my measures I can see in my graph the measure that I want in my right axis BUT also it changes the order of my pivot table.
This is my problem. I think that I can do that with different views but I lose my selector view to view graphic and my pivot table at the same time. -
Problem with truncate table in procedure ora -00054
hi do anybody know where is mistake ???
the procedure has problem with truncate table
ora - 00054: resource busy and acquire with NOWAIT specified
ora - 06512 at "POVAPSYS.HMAN_P_REFRESH", line 6
ora - 06512 at "POVAPSYS.POVAPSYS", line 6
ora - 06512 at line 1
this is my procedure....
AS
BEGIN
execute immediate 'TRUNCATE TABLE hman_t_max';
INSERT INTO hman_t_max SELECT * FROM hman_v_max;
COMMIT;
END;2.MAKE SURE THAT OTHER THAN YOU ANYBODY IS TRYING TO
COMPILE AND RUN THE PROCEDUREShould he make sure that anybody is running the procedure?
3.MAKE SURE THAT ANY PARALLEL QUERY IS RUNNING IN THE
SERVER SIDE,THATS KEEPS THE RESOURCE BUSYShould he make sure any parallel query is running in the server side to keep the resource busy?
Gita,
I COULDN'T RESIST HAVING ONE SUGGESTION FOR YOU. Please look at the impact of your English in the reply before posting. Check if that sends reverse message!
Cheers
Sarma. -
Hi Experts,
I have 2 problems with merging accounts:
1) Opportunity is not moved from source data to master data. I do not know why. Central BP is changable.
2) Contact Person is only copied, not moved. This causes problems later on when we want to delete the source data.
Any idea how to solve this?
Best regards,
CristinaHi Arno:
First of all: Thanks for answering my thread!
The problem with opportunities in my system is, that they are not merged at all, not even with the batch job. I checked trx. BUSWU02. Node CRM370 is assigned to variant CLEAR_REP.
Also the central Business Partner in opportunity remains changable, once the opportunity was saved.
Anything else I have to check??
Best regards,
Cristina -
Table cells - Problem with merged cells
Hi
I was experiencing very weird behavior with my tables until I realized that it was caused by merged cells
My script gives a dialog which allows the user to choose from which column to start and from which row.
As the script iterates through the cells in the selection I was getting weird results
Through using .select() function I was able to see that depending on the column, some times row 5 could be which seems to be row 3!
The reason was because of merged cells in that row
I.e., when some cells are merged together, only the first column of those merged cells is recognized - the others are not
so it comes out that when merging cells from column 3 to 5, column 3 has a cell in that row, columns 4 and 5 do not, and column 6 does!
Is there a way to get around this behavior?
Thanks
DaveyI don't understand the point of your post.
If you're trying to report a problem or "bug" with Pages, that is not the purpose of this user-to-user forum. You should leave feedback for the Pages team on this page.
I've not had a problem opening Word files with tables in Pages. If you're saying Word can't handle tables with merged cells, then don't use merged cells in files you are going to export as Word. Word & Pages must handle merged table cells differently, as I know both can do that. As far as RTF, Pages can open & export as RTF. Again, if you are going to export as RTF, don't use tables. Neither of these is a fault of Pages, just limitations of the formats/programs.
Maybe you are looking for
-
After upgrade to 10.9.1 office for mac 2011 will not open most excel files.
After upgrade to 10.9.1 office for mac will not open most excel files. The files will open in open office. I have tried re-saving as excel file, no joy. I have repaired permissions, no joy. below are the results of EtreCheck scan. Hardware Informatio
-
Is there a way to create a PDF of just ONE sheet?
I have a 5-sheet spreadsheet with each sheet generated based on information in the first sheet. I want to be able to e-mail a PDF of any ONE sheet. Is this possible? Message was edited by: mlanger
-
Back on 9.0.4.5 (with 10.1.3.1 migration on hold for a bit). I want to do something like the following, but am not finding the trick. Can anybody help? ReadAllQuery query = new ReadAllQuery(foo.LocatableItem.class); ExpressionBuilder builder = query.
-
hi, I am reading Richard Foote's notes, and he talks how reverse key indexes can stop the contention in RAC environment on an index where the values are ascending and always being entered into the right most block. But, they still wont stop the conte
-
Browser pages take forever to load
Every time I open Safari or Firefox, the pages take forever to load. I keep getting the color wheel and often have to force quit. I don't think it's the internet signal because I've tried it in 2 different locations (home and work) and the results