You can use this SQL to find out which languages are already installed for your installation.
select * from PSLANGUAGES where installed = 1
SELECT * FROM PSPRUHTABPGLT A, PSPRUHTAB B, PSOPRDEFN C WHERE A.PORTAL_NAME = B.PORTAL_NAME AND A.OPRID = B.OPRID AND A.PORTAL_COL_NUM > B.PORTAL_COLLAYOUT AND A.OPRID = C.OPRID AND ACCTLOCK = 0
To correct this you can get the user to switch to a 3 column layout, then flip them back to a 2 column layout. This will fix the invalid entries in portal tables.
set log C:\TEMP\content_export.log; set OUTPUT C:\TEMP\e9_cm_export.dat; EXPORT EPPCM_CONTENT; EXPORT EPPCM_CATG_MEM; EXPORT EPPCM_CATG_CONT; EXPORT EPPCM_DOC; EXPORT EPPCM_HTMLTEXT; EXPORT EPPCM_DOCINDB; EXPORT EPICP_WF_CNTAPR; EXPORT EPICP_TMPL_HDR; EXPORT EPICP_TMPL_DETL; EXPORT EPICP_INST_HDR; EXPORT EPICP_INST_DETL; EXPORT EPPCM_CATEGORY;
Local File &log; &log = GetFile("c:\temp\log.txt", "W", "A", %Filepath_Absolute);Then, you can print to that file with the writeline() method. For now, we will just print Hello, World.
&log.WriteLine("Hello, World!");Finally, you will probably want to close your file:
&log.Close();Here is what it all looks like:
1
2
3
4
| SET LOG C:\Temp\export.log; SET OUTPUT C:\Temp\data.dat; EXPORT PS_BAS_EVT_CLASS; |
1
| EXPORT BAS_EVT_CLASS; |
1
2
| EXPORT BAS_EVT_CLASS WHERE EVENT_CLASS = 'CVG'; |
1
2
3
4
| SET LOG C:\Temp\import.log; SET INPUT C:\Temp\data.dat; IMPORT BAS_EVT_CLASS; |
1
| IMPORT BAS_EVT_CLASS WHERE EVENT_CLASS = :1;CHAR,CVG; |
1
2
| SET UPDATE_DUPS; IMPORT BAS_EVT_CLASS WHERE EVENT_CLASS = :1;CHAR,CVG; |
1
| REPLACE_DATA BAS_EVT_CLASS; Resources |
//%New Print button added to Page Bar //%Ensure that document is ready before proceeding $(document).ready(function() { //%Check if the Page Bar is on the page if($("#PAGEBAR").length==1) { //% Declare local variables var printAnchor; var printImg; var newText = "Print Page"; //%Add new style to prevent #PAGEBAR from displaying when printing $('<style media="print"> #PAGEBAR {display: none} </style>').appendTo('head'); //%Get the Page Bar div and table cell var pgBar = $("#PAGEBAR"); var pgBarLinksCell = $("table > tbody > tr:eq(0) > td:eq(2)", pgBar); //%Check if there are any anchors on the Page Bar //%Though it seems if there is a Page Bar then there is always an anchor if ( $("a", pgBarLinksCell).length > 0 ) { //% If it is, clone the last one and separate the image from the anchor printAnchor = $("a:last", pgBarLinksCell).clone(); printImg = $("img", printAnchor); printAnchor.html(""); } else { //%otherwise build it manually printAnchor = $("<a tabindex='0'></a>"); printImg = $("<img hspace='0' border='0' align='absmiddle' vspace='0' ></img>"); var cssObj = { 'font-size' : '9pt', 'font-weight' : 'normal', 'font-style' : 'normal', 'color' : 'rgb(51, 102, 153)', 'text-decoration' : 'none' } printAnchor.css(cssObj); } //%set (or overwrite) the anchor attributes printAnchor.attr("id", "OXFPRINT"); printAnchor.attr("name", "OXFPRINT"); printAnchor.attr("href", ""); printAnchor.attr("tabindex", parseInt(printAnchor.attr("tabindex"))+1); //%set (or overwrite) the image attributes printImg.attr("title", newText); printImg.attr("alt", newText); printImg.attr("src","/cs/FSQA850/cache/PT_PRINT_1.gif"); //%Add a click event to the anchor printAnchor.click(function(event) { //%prevent the default from occuring event.preventDefault(); //%IE work-around printing in an iframe try { document.execCommand('print', false, null); } catch(e) { window.print(); } return false; }); //%Combine (or recombine) anchor, image and text printAnchor.wrapInner(printImg).append(" "+newText); //%append the new Print Anchor to the end of the Page Bar $(pgBarLinksCell).append(" ").append(printAnchor); } else { //%write the code to include a Page Bar } });
<div id="pthdr2container"> <div id="pthdr2logoswan"> </div> <div id="pthdr2greeting"> <span class="greeting">%bind(:15)</span> </div> %bind(:16) <ul id="pthdr2links"> %bind(:17) </ul> </div>
<div id="pthdr2container"> <div class="oxfblend"> <div id="pthdr2logoswan" onclick="javascript:window.location='%bind(:27)';return false;"> </div> <div id="pthdr2greeting"> <span class="oxfps">%bind(:26)</span> <span class="oxfgreeting">%bind(:15)</span> </div> <ul id="oxfhdrlinks"> %bind(:25) </ul> <ul id="pthdr2links"> <span>%bind(:17) </span> </ul> </div> <div id="oxfheaderLine3"> <div class="clearer"></div><!--Important - ensures floats are contained--> </div> </div>
Declare Function NavPageURL PeopleCode EOPP_SCRTN_WRK.FUNCLIB FieldFormula; &LINKURL = NavPageURL(%Portal, %Node, "your-folder-object-name", "PSC", "", "", "False", "", "", ""); %Response.RedirectURL(&LINKURL);
select * from PSPNLGROUP where PNLGRPNAME = 'JOB_DATA'
select REPLACE(ITEMLABEL, '&', '') as ITEMLABEL from PSPNLGROUP where PNLGRPNAME = 'JOB_DATA';