Pcs:if tag for date items
Hi, experts,
Our customer create publihser presentation template.
they code to compare the date as follows, but does not work.
<pcs:if expr='item.publish_date ≥ "2011/04/01 00:00"'>
<pcs:value expr="item.subject"></pcs:value>
</pcs:if>
Could you give some comments, better for sample code.
Regards
Sai
Hello Sai,
There is a KB article that explains how one would compare dates in Publisher. In short, you can't hard-code a string in the presentation template to compare to a date property. It will never return true. The only way to compare is to use another date property.
https://support.oracle.com/oip/faces/secure/km/DocumentDisplay.jspx?id=1338936.1
-Mike Headley, WCI Developer Support
Similar Messages
-
Best practice for implementing META tags for content items?
Hello,
The portal site I'm responsible for managing our content (www.sers.state.pa.us) runs on the following WebCenter products:
WebCenter Interaction 10.3.0.1
WebCenter Publisher 6.5
WebCenter Studio 2.2 MP1
Content Service 10gR3
The agency I work for is one of many for the commonwealth of PA, which use this product suite, and I'm encountering some confusion on how to apply META tags to the content items for our site, so we can have effective search results. According to the [W3C site's explanation on META tag standards|http://www.w3schools.com/tags/tag_meta.asp], the tags for description, keywords, etc, should be within the head region of the HTML document. However, with how the WebCenter suite's configuration is set up, the head section of the HTML is closed off by the end of the template code for a common header portlet. I was advised to add fields to our presentation and data entry templates for content, to add these meta fields, however, since they are then placed within the body section of the HTML as a result, these tags fail to have any positive impact on the search results. Instead, many of our content items, when searched for, the description in the search results only shows text that is displayed in the header and left navigation of our template, which come early in the body section of the HTML.
Please advise as to possible method(s) that would be best to implement usage of META tags so we can get our pages containing content to come up in search results with this relevant data.
Thanks in advance,
Brianif i remember right the index server will capture meta tags even if they are not in the <head> section. it is not well formed html but I think i remember that we created meta tags down in the body section and the index server still picked them up. you might try this and see if it still works. i believe it worked in 10gR3. Let me know your results.
-
Struggling on h:inputText tag for date type property
I am struggling to display a simple form which is attached to a bean having a Date type property.
I get the following exception each time I try to access the form, even it does not display as a blank form for the first time access.
Exception:
[#|2008-01-04T14:39:13.500+0530|SEVERE|sun-appserver-pe9.0|javax.enterprise.system.container.web|_ThreadID=12;_ThreadName=httpWorkerThread-3031-1;_RequestID=676ba2b1-9b5e-4a96-adb5-b1a792507b40;|StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
javax.faces.FacesException: Error performing conversion of value ' of type class java.lang.String to type class java.util.Date for managed bean userBean.
javax.servlet.ServletException: Error performing conversion of value ' of type class java.lang.String to type class java.util.Date for managed bean userBean.The JSP page contains the following tag for the inputText
<h:inputText value="#{userBean.dob}" id="dob" required="true">
<f:convertDateTime pattern="MM/dd/yyyy" />
</h:inputText>
<h:message for="dob" />I want to display a blank form with all the text fields blank.
Any help will be much appreciated.You should be able to do
<h:inputText value="#{bean.lastDate}"/>Where 'bean' is the managed bean name containing
the method getLastDate().
When the view is rendered, the getter (getLastDate())
will be called to display whatever value is returned. -
OEM Capacity Planner - location of help definitions for data items
Does anyone know the location of the help definitions for the OEM Capacity Planner data items? In the GUI, these definitions are accessible individually from Help > Selected Item. The definition provides a description, source, and user action.
I would like to consolidate these into a glossary for our users of OEM C.P., as well as in a planning document.perhaps that information can be here:
Enterprise Manager Administrator's Guide Contents / Search / Index / PDF
Enterprise Manager Concepts Guide Contents / Search / Index / PDF
Enterprise Manager Configuration Guide Contents / Search / Index / PDF
Enterprise Manager Event Test Reference Manual Contents / Search / / PDF
Enterprise Manager Messages Manual Contents / Search / Index / PDF
http://otn.oracle.com/pls/db92/db92.docindex?remark=homepage
Joel P�rez -
Adaptive tag for date value - output in milliseconds?
I'm trying to add code to my presentation template, so when a page has multiple content items, I grab the most recent value of all 'last modified dates' for the content items on the page, so this would essentially display the page's last modified date. The approach I'm trying involves outputting the modified date for each content item into a format I can sort in a javascript function, then retrieve the most recent value to display at the bottom of the page's content. In this case, I figured the best manner to sort the items easily would be to display the date in milliseconds, then sort, and finally convert the most recent modified date into mmmm dd, yyyy hh:mm AM/PM format.
I see there is a method to obtain this date in millseconds (since January 1, 1970) format in javascript, however, is there a way to do this using the adaptive tag <pcs:value expr="modified" format="____________">?
If not, is there a better way to obtain dates for sorting in a javascript function, so can obtain the entire date, hours, and minutes? I did find one method that grabs the month, day, and year, but not the hours and minutes.
Thanks!Hi Suman/Jeedesh,
As per Pco notification, it will trigger whenever any of the tag value changes in Agent instance subscription items.
For above issue, My suggestion
1. Create DB table name TAGLIST with 200 tags as rows in columns (Tagname, TagValue)
2. Based on notification trigger, create a transaction and update values w.r.t TagNames in above table
3. Next time, when notification trigger with fresh value for any of the tag, cross check with existing TagName with Value and update in DB table.
4. And in the mean time, send those Tag details vie mail trigger or as per requirement
Instead of creating 200 notification, above is a just alternate way suggestion to achieve dynamic tag value change notification.
Hope it might solve your problem
Regards,
Praveen Reddy -
Java.lang.NoSuchMethodError on my adf:inputrender tag for Date attribute
Hello!
Please help. I don't know how to fix this error:
java.lang.NoSuchMethodError: oracle.adf.model.binding.DCUtil.findSpelObject(Ljava/lang/Object;Ljava/lang/String;Z)Ljava/lang/Object;
at oracle.jbo.html.jsp.datatags.DataTagBase.initializeUsingModelReference(DataTagBase.java:112)
at oracle.jbo.html.jsp.datatags.DataTagBase.initializeDataSource(DataTagBase.java:144)
at oracle.jbo.html.jsp.datatags.DataTagBase.internalInitialize(DataTagBase.java:274)
at oracle.jbo.html.jsp.datatags.InputTagBase.internalInitialize(InputTagBase.java:164)
at oracle.jbo.html.jsp.datatags.InputRenderTag.internalInitialize(InputRenderTag.java:77)
at oracle.jbo.html.jsp.datatags.InputTagBase.doStartTag(InputTagBase.java:235)
I am using Jdev 10.1.2 and this error points to my adf:inputrender tag. I am rendering a Date attribute from my viewobject. Also this error only shows up in my deployed jsp (deployed to OAS 10.1.2). If I just run the web app in JDev 10.1.2 (using Standalone OC4J), there is no error.
Please help!Hello,
Anyone, please help me on this... by the way, I run my program without errors in JDev's OC4J, not the standalone OC4J. But when I deploy it to my server's OAS, it gets the error above whenever I load a jsp with an adf:inputrender on a Date attribute of my VO. -
DbExecute tag for data access won't work
On oc4j 1.0.2.2.1, I can update Oracle table by using dbExecute data-access tag. However, the same dbExecute tag won't make update on oc4j 9.0.2.1.
Can anyone help?
Thanks,It turns out dbExeute tag on newer oc4j need explicit COMMIT.
-
Cm:select content query for date
Hi,
does anyone know how to form the query in the cm:select tag for dates.
i want to do something like this but it does not work that way:
<cm:select query="type = 'news' && date > 05.10.2002" ...>
thanks for any help.Please post this to the Portal newsgroup.
ronald ploeger wrote:
> Hi,
>
> does anyone know how to form the query in the cm:select tag for dates.
>
> i want to do something like this but it does not work that way: <cm:select query="type
> = 'news' && date > 05.10.2002" ...>
>
> thanks for any help.
Regards,
Ann
Developer Relations Engineer
BEA Support
-
Hi
I have a " AirPort Time Capsule " (firmware 7.7.3) When I try to open the data folder in "finder". Then I got the message " The operation can not be completed because the original item for " data" does not exist". I have a lot of data and I can understand why I get this message?
Anyone who can help? Thanks..
Br. BoGet a USB drive of 2TB or more.. assuming your TC is 2TB. Either preformatted Mac or plug into your Mac and format it standard Mac OS Extended Journaled in disk utility.
Do a full archive of the TC. You do this using airport utility. Do not click the erase disk.. I marked in green.. just the archive.. that is to backup the internal disk to the USB disk. It is not fast.. take it that the process will go at around 40-50GB/hr.
Once you complete the archive .. it is a direct image of the data on your TC.. you can then plug it into your computer directly.. and then try and open the files you lost.. if you cannot open them.. open disk utility and fix the permissions.
http://osxdaily.com/2015/01/13/repair-disk-permissions-mac-os-x/
Or try the methods apple recommends..
OS X Yosemite: Set permissions for items on your Mac
It is possible to fix things on the USB drive because it is locally mounted.. but you cannot fix it on TC which is network drive. -
S_ALR_87012168 - Due Date Analysis for Open Items - How to add a column?
Hello,
I am trying to add a characteristic to the output of this report. I am trying to add the Reference field from BKPF to the list of available characteristics to choose from. It is available in the dynamic selections list so the field should be available in the program, I am just not sure how to get it onto the char. list.
S_ALR_87012168 - Due Date Analysis for Open Items
Any help would be greatly appreciated!Sorry but had to go in a different direction...
Thanks! -
S_ALR_87012168 - Due Date Analysis for Open Items - Add Characteristics?
Hello,
I am trying to add a characteristic to the output of this report. I am trying to add the Reference field from BKPF to the list of available characteristics to choose from. It is available in the dynamic selections list so the field should be available in the program, I am just not sure how to get it onto the char. list.
S_ALR_87012168 - Due Date Analysis for Open Items - SAP delivered Report Painter report.
Any help would be greatly appreciated!Try:
Go to -> Line items
You can change the display variant there to include the reference.
Rob -
S_ALR_87012078 - Due Date Analysis for Open Items display changers
Hi
I need to change this reports( S_ALR_87012078 - Due Date Analysis for Open Items ) display type to column display. How can I do that. I thought of uesing GoTO> Colum display but it is inposible 'cos always they are in inactive mode even in the change mode. pls advice on this
ThanxHi
did u try S_ALR_87012077
Thank You, -
I've installed SQL Server 2012 SP1 + SP server 2012 + SSRS and PowerPivot add-in.
I also configured excel services correctly. Everything works fine but the powerview doesn't work!
While I open an excel workbook consist of a PowerView report an error occurs: "An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions
to access the data source."
error detail:
<detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message xmlns="http://www.microsoft.com/sql/reportingservices">An
error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0</HelpLink><ProductName
xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3128.0</ProductVersion><ProductLocaleId
xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the
data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3128.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source></Source><Message>For more information about this error navigate
to the report server on the local server machine, or enable remote errors</Message></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices" /></detail>
Please help me to solve this issue. I don't know if uploading the excel workbook is enough or maybe It needed to connect to another data source.
I Appreciate in advance.Hi Ali.y,
Based on the current error message, the error can be related to the
Claims to Windows Token Service (C2WTS) and is an expected error under certain conditions. To verify the issue, please check the aspects below:
1. The C2WTS Windows service and C2WTS SharePoint service are both running.
2. Check the SQL Server Browser service is running on the machine that has the PowerPivot instance of SSAS.
3. Check the domain. You're signing into SharePoint with a user account in some domain (call it Domain A). When Domain A is equal to Domain B which SharePoint server itself is located (they're the same domain), or Domain
A trusts Domain B.
In addition, the error may be caused by Kerberos authentication issue due to missing SPN. In order to make the Kerberos authentication work, you need to configure the Analysis Services to run under a domain account, and register the SPNs for the Analysis
Services server.
To create the SPN for the Analysis Services server that is running under a domain account, run the following commands at a command prompt:
• Setspn.exe -S MSOLAPSvc.3/Fully_Qualified_domainName OLAP_Service_Startup_Account
Note: Fully_Qualified_domainName is a placeholder for the FQDN.
• Setspn.exe -S MSOLAPSvc.3/serverHostName OLAP_Service_Startup_Account
For more information, please see:
How to configure SQL Reporting Services 2012 in SharePoint Server 2010 / 2013 for Kerberos authentication
Regards,
Heidi Duan
Heidi Duan
TechNet Community Support -
An error occurred while loading the model for the item or data source 'EntityDataSource'.
Hi Team,
We are trying to configure the Power View in SharePoint 2013. We did the entire configuration by following below steps. When we open the excel workbook (2013) containing
Power View sheet (using excel web services) deployed in SharePoint Document library, we get the below error.
“An error occurred while loading the model for the item or data source
'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access the data source.”
Steps followed for configuring Power View in SharePoint Server 2013 (Single Machine setup):
Installed SharePoint Server 2013 Enterprise edition
Did not configure it at this time
Installed SQL Server 2012 with default instance installation (selected every features)
Later installed SP1 for SQL Server 2012
After that installed Analysis Server in SharePoint mode (SQL Server PowerPivot for SharePoint)
Again installed another Analysis Server and selected the tabular mode of data model
Then ran the configuration wizard of Share point 2013 for farm configuration (only for central admin creation)
Later we ran the PowerPivot for SharePoint 2013 (spPowerpivot.msi)
Then using the Power Pivot Configuration tool for 2013 and completed all the steps and configured the excel service and registered the above two analysis service instances.
Questions/Doubts are:
Is our steps followed as mentioned above is correct for configuring Power View in SharePoint Server 2013 Enterprise edition?
Is the SQL Server 2012 Enterprise edition with SP1 installed is sufficient to view Power View sheets in SharePoint 2013 or we need to use the SQL Server 2012 SP1
CTP3 software for Power View feature as mentioned in the below link.
http://technet.microsoft.com/en-us/library/jj219634.aspx
but we don’t have an option to download CTP3 software now from Microsoft site
Or do we need to install
Microsoft SQL Server 2012 With Power View For Multidimensional Models
CTP
http://www.microsoft.com/en-sg/download/details.aspx?id=35822
Few blogs says that SQL Server 2012 instance should have been installed with SP1 at one go (not seperately).
http://www.microsoft.com/en-in/download/details.aspx?id=35575
Error detail :
<detail><ErrorCode xmlns="http://www.microsoft.com/sql/reportingservices">rsCannotRetrieveModel</ErrorCode><HttpStatus xmlns="http://www.microsoft.com/sql/reportingservices">400</HttpStatus><Message
xmlns="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access
the data source.</Message><HelpLink xmlns="http://www.microsoft.com/sql/reportingservices">http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3000.0</HelpLink><ProductName
xmlns="http://www.microsoft.com/sql/reportingservices">Microsoft SQL Server Reporting Services</ProductName><ProductVersion xmlns="http://www.microsoft.com/sql/reportingservices">11.0.3000.0</ProductVersion><ProductLocaleId
xmlns="http://www.microsoft.com/sql/reportingservices">127</ProductLocaleId><OperatingSystem xmlns="http://www.microsoft.com/sql/reportingservices">OsIndependent</OperatingSystem><CountryLocaleId xmlns="http://www.microsoft.com/sql/reportingservices">1033</CountryLocaleId><MoreInformation
xmlns="http://www.microsoft.com/sql/reportingservices"><Source>ReportingServicesLibrary</Source><Message msrs:ErrorCode="rsCannotRetrieveModel" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsCannotRetrieveModel&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3000.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">An error occurred while loading the model for the item or data source 'EntityDataSource'. Verify that the connection information is correct and that you have permissions to access
the data source.</Message><MoreInformation><Source>Microsoft.ReportingServices.ProcessingCore</Source><Message msrs:ErrorCode="rsErrorOpeningConnection" msrs:HelpLink="http://go.microsoft.com/fwlink/?LinkId=20476&EvtSrc=Microsoft.ReportingServices.Diagnostics.Utilities.ErrorStrings&EvtID=rsErrorOpeningConnection&ProdName=Microsoft%20SQL%20Server%20Reporting%20Services&ProdVer=11.0.3000.0"
xmlns:msrs="http://www.microsoft.com/sql/reportingservices">Cannot create a connection to data source 'EntityDataSource'.</Message><MoreInformation><Source>Microsoft.AnalysisServices.SPClient</Source><Message>We
cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source></Source><Message>We cannot locate a server to load the workbook Data Model.</Message><MoreInformation><Source>Microsoft.Office.Excel.Server.WebServices</Source><Message>We
cannot locate a server to load the workbook Data Model.</Message></MoreInformation></MoreInformation></MoreInformation></MoreInformation></MoreInformation><Warnings xmlns="http://www.microsoft.com/sql/reportingservices"
/></detail>
Please help me in configuring Power View for SharePoint 2013.
Thanks in advance.
Pavan KumarI'll bet that I know the answer to this one - and you probably won't like it ;)
Here's the telling portion of that error: "We cannot locate a server to load the workbook Data Model."
This error is thrown in two scenarios; the first, when you haven't registered an analysis server. The second appears to be the issue you're having:
PowerPivot requires SQL Server 2012 SP1. Microsoft issued a release of SQL Server 2012 SP1 that really wasn't SP1...
Check the version of SQL that you are running. It should be version 11.0.3000 or greater. If it's not, you have the wrong "SP1" installed. The correct one is
here.
Here's the bad news- you can't simply redeploy the correct one... because the installer already thinks that SP1 is installed. You'll have to backup (or detach and copy) your databases, then re-install SQL with the correct SP1, then restore or reattach
the databases. Once you've done that, PowerPivot and PowerView will work properly.
I sincerely hope this resolves your issues - we wasted TWO WEEKS of our time with this problem! -
Acknowlegment for PO Item has date variance
Hi gurus,
While doing the Inbound Delivery the following error:
" Acknowledgement for PO Item has DATE VARIENCE"
Can some body throw light on it ?
Thanks & Regards
Srikanthhi,
if you try do delivery for the PO item before the date that is mentioned in the PO. Please check the In PO,Item details, under the tab Confirmations, the date entered for the inbound delivery. so you can change the date in PO to the required date and do the inbound delivery.
regards
sadhu kishore
Maybe you are looking for
-
Hi, I was wondering if APEX had the functionality to link to external applications such as Digital Paper? Right now, im my APEX application & Digital Paper Application, every viaduct is indexed by a Reference Number. Can I link my APEX record to pict
-
How to resize a document and it's contents
hello i have a multi page indesign document. the client is rather fickle and i need to change the page size and i'm wondering if there is any way of doing so that sizes the contents of the spreads along with the document. seems rather silly to manual
-
How do i play yahoo games without java
installing java to run games on my galaxy tab
-
2 viewlink from one table?
hi, jdev 11.1.1.0.1 is used on a xp sp3 computer. 3 views into my problem : T1, T2 and T3 : - T1/T2 = Master/Detail - T3 is used to be a LOV of T2 i have 2 criteria type on T3: - a field (number) of T3 must be equal to a field of current row of T2 -
-
Dialog Box: Select the network you want to join...
I just installed updates from mac that required restart. Upon restart I have a screen asking me to select the network I want to join with the following choices. ANDM2 (with a lock beside it), fortress1 (w/lock beside it) , linksys and XVU83 (with loc