Subsequence does not return result
I want to have a subsequence return a pass or fail result to the main sequence. I read on the forums to make a pass/fail test in the subsequence and I set that step to cause the sequence to fail. I set a breakpoint and can see that that step is failing. I set another breakpoint after the call to the subsequence in the main sequence and that step always passes.
How do I do this properly? I can't seem to find any good documentation on the subject.
I have tested this in 3.5, 4.0, and 4.0.1. The attached sequences were made in 3.5.
Attachments:
seq1.seq 49 KB
subseq1.seq 30 KB
Hi Andrew,
When i closed my TestStand the system asked me so save NI-Types!! That means your Types differs from that which are shipped from NI.
Maybe you will get some problems with typeconflicts in future.
For all other users here in this forum be careful when loading the upper or my example. NEVER accept savings to NI-Steptypes !!!!!
Refer to this Site: type conflict error when using TS_EngineGetSeqFile link: http://forums.ni.com/ni/board/message?board.id=330&message.id=17427#M17427
greetings from the lake of Constance, Germany
and get never affected by a type virus
juergen
=s=i=g=n=a=t=u=r=e= Click on the Star and see what happens :-) =s=i=g=n=a=t=u=r=e=
Similar Messages
-
Content scope document library does not return result for non farm administrator
Hi
I have a situation where I had to go with a unique permission applied subsite to store 1000 documents in the document library. This site has a set of 50 users. I was able to create content scope and library path for search. It returns results for me(creator/owner/administrator)
however if I add other users as contributor or full permission, even after full crawling it does not return result for others.
I saw some article that security broken site wont be indexed normal way and to include and I did that as well but no result for other users. I always get result.
Please suggest if there are any specific security permissions that I need to include, so the document library target search will return result for others.
Thanks
ShriHi Shri,
For administrator search results, it looks like the documents could be crawled and searched.
For other users you grant full control permission on subsite with unique permission where you store 1000 dcouments in document library, please make sure these 50 users have access permission(at least view permission) on documents from the
library, then test again.
Also test if users search on search center site without search scope, see if it's scope issue or search web part issue.
If above doesn't work, please check ULS log for related useful information around the time when users search the documents, there should be more info to verify if issue is related to unique permision.
Thanks,
Daniel Yang
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
CQWP does not return result for a specific query when filtering on a managed metadata field.
Hi,
We are facing a serious production issue. We've search the web extensively but to no avail.
Problem:
CQWP does not return result for a specific query when filtering on a managed metadata field.
ULS log:
The Uls logs provides 3 different messages that I could relate to every time the query is executed. The last item(level Medium) is displayed 14 times. For readability I've moved the ULS logs to the bottom of this question.
Query:
The query is as follows:
(I've translated this from dutch so pardon any typo's)
Query: (top selection) Display items from all sites in the site collection
ListType: Documentlibrary
Contenttype:
Items from this group:Custom Document Contenttypes
Items from this content type: Verklaring
Filter: Soort is equal to X
extra info: the field soort (Type) is a managed metadata field that was assigned the value X
Managed Metadata Structure:
-managed metadata service
-Contoso
-Enterprise Taxonomy (term set)
-Document (term)
-Verklaring (term)
-Soort (term)
-x (term)
EXTRA INFO:
When I modify the filter to filter on Title the CQWP DOES return the correct document!
When I modify the query settings to search a specific library the CWQP also does return the correct document! (In this case I am filtering on a managed metadata field).
QUESTION:
Why doesn't the CQWP return the document when filtering on a managed metadata field over the entire site collection.
Why does the CQWP return the document when filtering on a managed metadata field over a single library.
(The type of information the CQWP should return (Soort:x) is stored in a dozen document libraries!)
Here are the ULS logs.
Product: Web Content Management
Category Publishing
Level: Monitorable:
CrossListQueryCache::GetSiteData() caught exception (Microsoft.SharePoint.SPException: Kan deze actie niet voltooien. Probeer het opnieuw. ---> System.Runtime.InteropServices.COMException (0x80004005): Kan deze actie niet voltooien. Probeer
het opnieuw. bij Microsoft.SharePoint.Library.SPRequestInternalClass.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns)
bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns) --- Einde van intern uitzonderingsstackpad
--- bij Microsoft.SharePoint.SPGlobal.HandleComException(COMException comEx) bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery,
ISP2DSafeArrayWriter pCallback, Object& pvarColumns) bij Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query) bij Microsoft.SharePoint.Publishing.CachedArea.GetSiteData(SPWeb web, SPSiteDataQuery
siteDataQuery, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CachedArea.GetCrossListQueryResults(SPSiteDataQuery query, SPWeb currentContext, Boolean onlyPopulateCache, Boolean useSpQueryOnList, Int32 lcid)
bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea cachedArea, SPWeb web, SPSiteDataQuery query, Boolean useSpQueryOnList)) for query: '<ViewFields><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}"
Nullable="True" Type="Text"/><FieldRef ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}" Nullable="True" Type="Lookup"/><FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Nullable="True"
Type="Counter"/><FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Nullable="True" Type="DateTime"/><FieldRef ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" Nullable="True" Type="User"/><FieldRef
ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" Nullable="True" Type="User"/><FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime"/><FieldRef ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}"
Nullable="True" Type="Lookup"/><FieldRef ID="{ba3c27ee-4791-4867-8821-ff99000bac98}" Nullable="True" Type="Text"/><FieldRef ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Nullable="True"
Type="Lookup"/><FieldRef ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Nullable="True" Type="Lookup"/><FieldRef ID="{39360f11-34cf-4356-9945-25c44e68dade}" Nullable="True" Type="Text"/><FieldRef
ID="{543bc2cf-1f30-488e-8f25-6fe3b689d9ac}" Nullable="True" Type="Image"/><FieldRef ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Nullable="True" Type="Number"/><FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}"
Nullable="True" Type="Note"/><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}" Nullable="True" Type="Lookup"/><FieldRef Name="ScopeId" /><FieldRef Name="_Level" /><FieldRef
Name="UniqueId" /><ListProperty Name="DraftVersionVisibility" /></ViewFields><Lists ServerTemplate="101"></Lists><Webs Scope="Recursive" /><RowLimit>45</RowLimit><Query><Where><And><BeginsWith><FieldRef
Name="ContentTypeId" Nullable="True" Type="ContentTypeId"/><Value Type="ContentTypeId">0x010100C5FEE83B67FA6445B0C14AE8B7761BB8011E</Value></BeginsWith><In><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}"
LookupId="TRUE"/><Values><Value Type="Counter">783</Value></Values></In></And></Where><OrderBy><FieldRef ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True"
Type="DateTime" Ascending="FALSE"/></OrderBy></Query>' at url: /. Titel webonderdeel: Inhoudsquery
Product: Web Content Management
Category Publishing
Level: Warning
Error occured while processing a Content Query Web Part. Performing the following query '<ViewFields><FieldRef ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Nullable="True" Type="Text"/><FieldRef ID="{94f89715-e097-4e8b-ba79-ea02aa8b7adb}"
Nullable="True" Type="Lookup"/><FieldRef ID="{1d22ea11-1e32-424e-89ab-9fedbadb6ce1}" Nullable="True" Type="Counter"/><FieldRef ID="{28cf69c5-fa48-462a-b5cd-27b6f9d2bd5f}" Nullable="True"
Type="DateTime"/><FieldRef ID="{1df5e554-ec7e-46a6-901d-d85a3881cb18}" Nullable="True" Type="User"/><FieldRef ID="{d31655d1-1d5b-4511-95a1-7a09e9b75bf2}" Nullable="True" Type="User"/><FieldRef
ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime"/><FieldRef ID="{30bb605f-5bae-48fe-b4e3-1f81d9772af9}" Nullable="True" Type="Lookup"/><FieldRef ID="{ba3c27ee-4791-4867-8821-ff99000bac98}"
Nullable="True" Type="Text"/><FieldRef ID="{c5c4b81c-f1d9-4b43-a6a2-090df32ebb68}" Nullable="True" Type="Lookup"/><FieldRef ID="{8fca95c0-9b7d-456f-8dae-b41ee2728b85}" Nullable="True"
Type="Lookup"/><FieldRef ID="{39360f11-34cf-4356-9945-25c44e68dade}" Nullable="True" Type="Text"/><FieldRef ID="{543bc2cf-1f30-488e-8f25-6fe3b689d9ac}" Nullable="True" Type="Image"/><FieldRef
ID="{43bdd51b-3c5b-4e78-90a8-fb2087f71e70}" Nullable="True" Type="Number"/><FieldRef ID="{9da97a8a-1da5-4a77-98d3-4bc10456e700}" Nullable="True" Type="Note"/><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}"
Nullable="True" Type="Lookup"/><FieldRef Name="ScopeId" /><FieldRef Name="_Level" /><FieldRef Name="UniqueId" /><ListProperty Name="DraftVersionVisibility" /></ViewFields><Lists
ServerTemplate="101"></Lists><Webs Scope="Recursive" /><RowLimit>45</RowLimit><Query><Where><And><BeginsWith><FieldRef Name="ContentTypeId" Nullable="True" Type="ContentTypeId"/><Value
Type="ContentTypeId">0x010100C5FEE83B67FA6445B0C14AE8B7761BB8011E</Value></BeginsWith><In><FieldRef ID="{aea3cd20-8da0-4cb7-803b-5a33079a0e4d}" LookupId="TRUE"/><Values><Value Type="Counter">783</Value></Values></In></And></Where><OrderBy><FieldRef
ID="{8c06beca-0777-48f7-91c7-6da68bc07b69}" Nullable="True" Type="DateTime" Ascending="FALSE"/></OrderBy></Query>' generated the following error: Kan deze actie niet voltooien. Probeer het opnieuw.
at the following url: /. Titel webonderdeel: Inhoudsquery
Kan deze actie niet voltooien. Probeer het opnieuw. This is Dutch. It means something like: Cannot complete this action. Please try again.
Product: Web Content Management
Category Publishing
Level: Medium (this message is displayed 14 times)
ConsoleUtilies.GetContextualControlMode had no currentPage so the current SPWebPartManager mode cannot be retrieved.Hi,
while digging through the logging (again) I found some extra logging regarding the same correlation id (see details below).
We have a fairly large term store (4000+ lines).
If somebody has a clue or tip that would greatly appreciated!
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa42 Monitorable A large block of literal text was sent to sql. This can result in blocking in sql and excessive memory use on the front
end. Verify that no binary parameters are being passed as literals, and consider breaking up batches into smaller components. If this request is for a SharePoint list or list item, you may be able to resolve this by reducing the number of fields. 1971313a-6baa-49e9-bace-d024ce67f25c
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa43 High Slow Query Duration: 127.1515 1971313a-6baa-49e9-bace-d024ce67f25c
03-19-2014 13:49:51.87 w3wp.exe (0x2098) 0x23BC SharePoint Foundation Database fa44 High Slow Query StackTrace-Managed: bij Microsoft.SharePoint.Utilities.SqlSession.OnPostExecuteCommand(SqlCommand command,
SqlQueryData monitoringData) bij Microsoft.SharePoint.Utilities.SqlSession.ExecuteReader(SqlCommand command, CommandBehavior behavior, SqlQueryData monitoringData, Boolean retryForDeadLock) bij Microsoft.SharePoint.SPSqlClient.ExecuteQueryInternal(Boolean
retryfordeadlock) bij Microsoft.SharePoint.SPSqlClient.ExecuteQuery(Boolean retryfordeadlock) bij Microsoft.SharePoint.Library.SPRequestInternalClass.CrossListQuery(String bstrUrl, String bstrXmlWebs, String
bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter pCallback, Object& pvarColumns) bij Microsoft.SharePoint.Library.SPRequest.CrossListQuery(String bstrUrl, String bstrXmlWebs, String bstrXmlLists, String bstrXmlQuery, ISP2DSafeArrayWriter
pCallback, Object& pvarColumns) bij Microsoft.SharePoint.SPWeb.GetSiteData(SPSiteDataQuery query) bij Microsoft.SharePoint.Publishing.CachedArea.GetSiteData(SPWeb web, SPSiteDataQuery siteDataQuery, Boolean
useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CachedArea.GetCrossListQueryResults(SPSiteDataQuery query, SPWeb currentContext, Boolean onlyPopulateCache, Boolean useSpQueryOnList, Int32 lcid) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea
cachedArea, SPWeb web, SPSiteDataQuery query, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(CachedArea ca, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.CrossListQueryCache.GetSiteDataResults(SPSite
site, String webUrl, Boolean useSpQueryOnList) bij Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.IssueQuery() bij Microsoft.SharePoint.Publishing.WebControls.ContentByQueryWebPart.GetXPathNavigator(String
viewPath) bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.PrepareAndPerformTransform(Boolean bDeferExecuteTransform) bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.PerformSelect()
bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.DataBind() bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.EnsureDataBound() bij Microsoft.SharePoint.WebPartPages.DataFormWebPart.CreateChildControls()
bij System.Web.UI.Control.EnsureChildControls() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal()
bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Control.PreRenderRecursiveInternal() bij System.Web.UI.Page.ProcessRequestMain(Boolean
includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) bij System.Web.UI.Page.ProcessRequest(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) bij System.Web.UI.Page.ProcessRequest()
bij System.Web.UI.Page.ProcessRequest(HttpContext context) bij ASP.BLANKWEBPARTPAGE_ASPX_1653093133.ProcessRequest(HttpContext context) bij Microsoft.SharePoint.Publishing.TemplateRedirectionPage.ProcessRequest(HttpContext
context) bij System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() bij System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
bij System.Web.HttpApplication.PipelineStepManager.ResumeSteps(Exception error) bij System.Web.HttpApplication.BeginProcessRequestNotification(HttpContext context, AsyncCallback cb) bij System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest
wr, HttpContext context) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr
managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotificationHelper(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32
flags) bij System.Web.Hosting.PipelineRuntime.ProcessRequestNotification(IntPtr managedHttpContext, IntPtr nativeRequestContext, IntPtr moduleData, Int32 flags) 1971313a-6baa-49e9-bace-d024ce67f25c -
Query.cmd -s -c -l "select * from ' cachename '" does not return results
We are working with coherence 3.6.1 on RH5 server. We are connecting to the grid and are able to query a cache through the command line. However, when we attempt to query a cache utilizing the following command, we receiving only the CohQL prompt:
query.cmd -s -c -l "select * from '<a cache>'"
This works on the UNIX side with the query.sh command.
Additionally:
redirect to a file = same issue
input from a file = same issues
input from a file, redirect to a file = same issue
etc....
The examples are OK, it just does not work as expected.
Thanks!!!We have been able to get the file input to file output to work
query.cmd -s -t -f < myinputfile -f > myoutputfile
still cannont get the
query.cmd -l "select * from 'mycache'" to work -
Oracle Text does not return results when String starts with two consecutive vowels
Hi,
I hope someone can shed some light on a strange problem we're facing.
Oracle Database 11g R2 (11.2.0.4) EE 64-bit running on Windows 2008 Server R2.
When I create a context index on a varchar2 column (surname) it works fine when the surname starts with either a consonant or one vowel. But when the surname starts with two vowels it fails to return the record?
Please see worked example below:
create table t1 (surname varchar2(50));
insert into t1 values ('OURS');
insert into t1 values ('JOURS');
insert into t1 values ('ONES');
commit;
-- sync every 10 mins
CREATE INDEX PERSON_SURNAME_IDX ON t1
(SURNAME)
INDEXTYPE IS CTXSYS.CONTEXT
PARAMETERS('MEMORY 50M sync (every "SYSDATE+10/1440")')
NOPARALLEL;
-- no rows
SELECT surname
FROM t1
WHERE CONTAINS(surname, 'OURS') > 0;
-- 1 row
SELECT surname
FROM t1
WHERE CONTAINS(surname, 'JOURS') > 0;
-- 1 row
SELECT surname
FROM t1
WHERE CONTAINS(surname, 'ONES') > 0;
Any help or guidance greatly appreciated.
Thanks,Wtf?
https://docs.oracle.com/database/121/CCREF/astopsup.htm#i634475
only then where
all do into onto there whether
almost does is or therefore which
also either it our these while
although for its ours
select
from v$version
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 0
PL/SQL Release 12.1.0.2.0 - Production
CORE 12.1.0.2.0 Production
TNS for Linux: Version 12.1.0.2.0 - Production
NLSRTL Version 12.1.0.2.0 - Production
SELECT spw_stoplist, spw_word FROM ctx_stopwords
WHERE spw_stoplist ='DEFAULT_STOPLIST'
order by nlssort(spw_word, 'NLS_SORT=LATIN')
---- snip ----
DEFAULT_STOPLIST not
DEFAULT_STOPLIST of
DEFAULT_STOPLIST on
DEFAULT_STOPLIST one
DEFAULT_STOPLIST only
DEFAULT_STOPLIST or
DEFAULT_STOPLIST other
DEFAULT_STOPLIST out
DEFAULT_STOPLIST over
DEFAULT_STOPLIST s
---- snip ---- -
Get-csRgsWorkFlow command does not return result if you are using remote shell
I am connecting to Lync server remotely using windows powshell.
When I issue the command locally from the Lync server, I get the correct response. When I do the same command from the remote shell, I get empty response.
Can you help me why this is happening?Have you checked RBAC?
"The Get-CsRgsWorkflow cmdlet
provides a way for you to return information about the workflows configured for use in your organization.
Who can run this cmdlet: By default, members of the following groups are authorized to run the Get-CsRgsWorkflow cmdlet locally: RTCUniversalServerAdmins. To return a list of all the role-based access control (RBAC) roles this cmdlet
has been assigned to (including any custom RBAC roles you have created yourself), run the following command from the Windows PowerShell prompt:
Get-CsAdminRole | Where-Object {$_.Cmdlets –match "Get-CsRgsWorkflow"}
" - http://technet.microsoft.com/en-us/library/gg425766(v=ocs.14).aspx
Please mark posts as answers/helpful if it answers your question.
Blog
Lync Validator - Used to assist in the validation and documentation of Lync Server 2013. -
Find an item not returning results in SharePoint calendar list
Environment: SharePoint 2013 upgraded to SP1. We have 1000s of team sites that have been upgraded from 2010 to 2013. In the lists in these sites, quite often I encounter that
Find an item does not return results for certain fields other than the title field. For example, we have a calendar list which has a Single Line of Text field. I can not get meaningful results searching on
this field. I have tried this, no luck:
http://www.enjoysharepoint.com/Articles/Details/sharepoint-2013-find-an-item-search-box-does-not-return-20956.aspx
Search service crawls incremental every hour. I hope this does not need a full crawl.
Thanks, Soumya | MCITP, SharePoint 2010Thanks Ganesh. All these settings are as you recommended it to be. Nonetheless I double checked and here are the results:
Ensure in the Search Service Application that the Web Application is included in the Content Source under SharePoint Start Addresses.
Yes. Please remember we are getting search results. To be specific we are not getting Find items in the list to be returning accurate results.
Make sure that the address in Alternate access mappings default text box is same as the start crawl address in the search service application.
Yes.
List Setting - Allow items from this list to appear in search results? yes
Ensured
set “Require content approval for submitted item?” to “No”.
It is set to "No". However, will it not work for approved contents also?
Thanks, Soumya | MCITP, SharePoint 2010 -
I have a Xquery statement that works as expected on Oracle 10.2.0.5 but does not return any results on Oracle 10.2.0.4.
Is this the result of a badly written query? A bug in 10.2.0.4?
Is there a way to rewrite the query so that is does work on 10.2.0.4?
Testcode:
declare
l_xml xmltype;
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.*
from xmltable(xmlnamespaces(default 'http://www.opengis.net/wmts/1.0'
,'http://www.opengis.net/ows/1.1' as "ows"
,'http://schemas.opengis.net/gml' as "gml"
,'http://www.w3.org/1999/xlink' as "xlink"
,'http://www.w3.org/2001/XMLSchema-instance' as "xsi")
,'for $d in //Layer[TileMatrixSetLink/TileMatrixSet="EPSG:28992"] return $d' passing
p_xml columns title varchar2(100) path 'ows:Title'
,format varchar2(100) path 'Format'
,style xmltype path 'Style') as t;
begin
l_xml := xmltype.createxml('<?xml version="1.0" encoding="UTF-8"?>
<Capabilities xmlns="http://www.opengis.net/wmts/1.0"
xmlns:ows="http://www.opengis.net/ows/1.1"
xmlns:xlink="http://www.w3.org/1999/xlink"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:gml="http://www.opengis.net/gml" xsi:schemaLocation="http://www.opengis.net/wmts/1.0 http://schemas.opengis.net/wmts/1.0/wmtsGetCapabilities_response.xsd"
version="1.0.0">
<Contents>
<Layer>
<ows:Title>brtachtergrondkaart</ows:Title>
<ows:Identifier>brtachtergrondkaart</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>top10nl</ows:Title>
<ows:Identifier>top10nl</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
<Layer>
<ows:Title>bgt</ows:Title>
<ows:Identifier>bgt</ows:Identifier>
<Style isDefault="true">
<ows:Identifier>_null</ows:Identifier>
</Style>
<Format>image/png8</Format>
<TileMatrixSetLink> <TileMatrixSet>EPSG:28992</TileMatrixSet>
</TileMatrixSetLink> </Layer>
</Contents>
</Capabilities>');
for r_layer in c_layer(l_xml)
loop
dbms_output.put_line(r_layer.title);
end loop;
end;Result on 10.2.0.5:
brtachtergrondkaart
top10nl
bgtThis one's strange indeed.
I can reproduce on 10.2.0.4 and one of the following seems to fix it :
1) Specifying the column list in the SELECT, instead of t.* :
-- Select layers with TileMatrixSet EPSG:28992
cursor c_layer(p_xml xmltype) is
select t.title, t.format, t.style
from xmltable(or,
2) Using an extended FLWOR expression :
for $d in //Layer
where $d/TileMatrixSetLink/TileMatrixSet = "EPSG:28992"
return $dMaybe you've already noticed but the problem only occurs within a PL/SQL context.
The same query run from SQL is OK. -
Ctxrule - match does not return expected result
v.11.1.07 - I have created a ctxrule index as detailed below. However, although a query should match on the given document, it does not return. Any ideas?
begin
ctx_ddl.create_preference('ot_lexer', 'basic_lexer');
ctx_ddl.set_attribute('ot_lexer', 'index_stems', 'ENGLOSH');
end;
begin
ctx_ddl.create_section_group('ot_sec_group', 'auto_section_group');
end;
create table ot_profile_test
(profile_id number,
query clob);
create index ot_profile_rule_ndx on ot_profile_test(query)
indextype is ctxsys.ctxrule parameters
('stoplist ctxsys.empty_stoplist
section group ot_sec_group
lexer ot_lexer');
insert into ot_profile_test values(1, '($apple and $pear) and (1 within food)');
commit;
exec ctxsys.ctx_adm.set_parameter('log_directory', '/yourdir');
exec ctx_output.start_log('ot');
exec ctx_output.add_event(ctx_output.event_index_print_rowid);
exec ctx_output.add_event(ctx_output.event_index_print_token);
exec ctx_ddl.sync_index('ot_profile_rule_ndx', '2040M', null, 1, null, ctx_ddl.lock_nowait_error);
exec ctx_output.end_log;Then, run a query:
declare
a clob := 'apple orange pears banana
<metadata>
<indicators>
<food>1</food>
</indicators>
</metadata>
vn_profile_id number;
begin
select profile_id into vn_profile_id
from ot_profile_test
where matches(query, a) > 0;
dbms_output.put_line(vn_profile_id);
end;
ERROR at line 1:
ORA-01403: no data found
ORA-06512: at line 8Shouldn't profile_id = 1 be returned?
Also, shouldn't the logfile have 2 rows written to $I?
WRITING TOKEN APPLE:((PEAR) = (PEARS)) * ((1) WITHIN FOOD),0
WRITING TOKEN APPLES:((PEAR) = (PEARS)) * ((1) WITHIN FOOD),0You need to use a basic_wordlist instead of a basic_lexer and ENGLISH instead of ENGLOSH in order to use stemming and your clob (variable a) must be valid html or xml in order to search within sections. Please see the simplified demonstration below.
SCOTT@orcl_11gR2> begin
2 ctx_ddl.create_preference ('ot_wordlist', 'basic_wordlist');
3 ctx_ddl.set_attribute ('ot_wordlist', 'stemmer', 'ENGLISH');
4 ctx_ddl.create_section_group ('ot_sec_group', 'auto_section_group');
5 end;
6 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> create table ot_profile_test
2 (profile_id number,
3 query clob)
4 /
Table created.
SCOTT@orcl_11gR2> create index ot_profile_rule_ndx
2 on ot_profile_test (query)
3 indextype is ctxsys.ctxrule
4 parameters
5 ('stoplist ctxsys.empty_stoplist
6 wordlist ot_wordlist
7 section group ot_sec_group')
8 /
Index created.
SCOTT@orcl_11gR2> insert into ot_profile_test values
2 (1, '($apple and $pear) and (1 within food)')
3 /
1 row created.
SCOTT@orcl_11gR2> commit
2 /
Commit complete.
SCOTT@orcl_11gR2> exec ctx_ddl.sync_index ('ot_profile_rule_ndx')
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> declare
2 a clob :=
3 '<table>
4 <fruits>apple orange pears banana</fruits>
5 <metadata>
6 <indicators>
7 <food>1</food>
8 </indicators>
9 </metadata>
10 </table>';
11 begin
12 for r in
13 (select profile_id
14 from ot_profile_test
15 where matches (query, a) > 0
16 order by profile_id)
17 loop
18 dbms_output.put_line (r.profile_id);
19 end loop;
20 end;
21 /
1
PL/SQL procedure successfully completed.
SCOTT@orcl_11gR2> -
WebI does not return failed when scheduling a report which only holds parti
WebI does not return failed when scheduling a report which only holds partial results.
We have scheduled reports which take some time to run. When they are scheduled they sometimes show successful even though the report only holds partial results. The only indication is when you open the report as webi report you see the warning that it holds partial results.
When running the report manually, it works file.
The issue is not in the no of rows in the universe settings because we this unselected. The issue is that it times out.
The reason that it times out is that a lot of resources are used for loading and processing data when the report is scheduled. When running it manually, it works because at this time the serverload is less. the time in the universe is set to 10 min.
The version we have is BOXIR2-SP4.
Ok. Issue identified.
The question is - why is the report successful when it holds partial results? If this is normal behavior, noone can really trust the scheduled reports, especially when you save it to excel and send it by mail.
Is there a solution for this except increasing the allowed query time which would not solve the issu but only allow more reports to complete?
Edited by: Karlgren Michael on Sep 17, 2009 1:22 PMHi ,
Currently this problem exists in XI R2. This feature will be part of thenext Service Pack i.e XI R2 SP6.
This CER will be delivered from IDC Webi and BIP Platform as part of Jupiter Sp6.
Problem Statement:
Scheduled WebI Reports which are partially refreshed are distributed to the destinations for Users to View and make decisions. These users arenu2019t usually aware that these reports have u201CPARTIAL RESULTSu201D
Recomended Solution:
Allow the Schedule Creator / Modifier to set a parameter to stop the distribution of the u201CPARTIALLY REFRESHEDu201D WebI report.
Thanks
Salini -
Search does not return my documents
Hi Gurus,
I have created few documents using CM SDK. I could able to see these documents using IFS browser.
Now I wrote content search method to search document content.When I search for "cmsdk" string it returns 13 documents.But when I search for a string in the document, I created , for example a text like "struts" it does not return any result , though this document I can see in IFS browser.What could be the reason?.
BTW I didn't create any FORMAT type while I am storing the document. Can any one point me to a document where I can find some instructions on "must and should things to do before search".
I am using CM SDK 9.0.3.
Thanks in advance.
Giri.have you set the indexing on?
-
Fuzzy search not returning results?
I'm executing a phonetic search on the nm_resource column. my application allows a call center employee to search on the resource name (nm_resource), if the resource is not found then they will enter a new one. The problem is someone may have already entered the resource name but spelled it incorrectly resulting in duplicate records for the same resource name. To enable the call center to retrieve records that may have the same sound but are spelled differently we have implemented the fuzzy search capability of Oracle text. Things have been going very nicely for the most part with the exception of this one issue we're trying to understand.
Using the query below we're searching for the resource name "rosies" the actual record in the database was entered as "rosy's". the search returns (rosies,rosie's,rosys) and does not return ---> rosy's <--- the record i'm interested in
it is reasonable to expect rosy's to be returned in the result set? my query should retunn the max fuzzy expansions and all fuzzy scores.
select score(1), nm_resource, ADDR_RSRC_ST_LN_1, id_resource, ADDR_RSRC_CITY FROM caps_resource where
CONTAINS (nm_resource,'fuzzy(rosies, 0, 5000, weight)',1)>0
union
select /*+index(caps_resource ind_caps_resource_8)*/ 10, nm_resource, ADDR_RSRC_ST_LN_1, id_resource, ADDR_RSRC_CITY from caps_resource
where NM_RESOURCE_UPPER like upper(replace(replace('%' || 'rosies' || '%',' '), '-'))
and rownum<500 order by 1 DESC;
any help explaining this is much appriciated.
Regards,When you index "Rosy's", by default it sees the apostropohe as a delimiter and tokenizes and indexes "Rosy" and "s" separately. So, you could only find it by searching the singular form or the singular form obtained by using stemming. However, if you set the apostrophoe as a skipjoin, then it tokenizes and indexes "Rosys" as one token that you can then search for that using "rosies":. Please see the demonstration below. You might also be interested in soundex, which can be used with Oracle Text, or the functions in the utl_match package or metaphone.
SCOTT@orcl_11g> CREATE TABLE caps_resource
2 (nm_resource VARCHAR2 (30))
3 /
Table created.
SCOTT@orcl_11g> INSERT ALL
2 INTO caps_resource VALUES ('Rosy''s')
3 SELECT * FROM DUAL
4 /
1 row created.
SCOTT@orcl_11g> SELECT * FROM caps_resource
2 /
NM_RESOURCE
Rosy's
SCOTT@orcl_11g> CREATE INDEX your_text_idx ON caps_resource (nm_resource)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 PARAMETERS
4 ('STOPLIST CTXSYS.EMPTY_STOPLIST')
5 /
Index created.
SCOTT@orcl_11g> SELECT token_text FROM dr$your_text_idx$i
2 /
TOKEN_TEXT
ROSY
S
SCOTT@orcl_11g> SELECT * FROM caps_resource
2 WHERE CONTAINS (nm_resource, 'FUZZY (rosies, 0, 5000, weight)') > 0
3 /
no rows selected
SCOTT@orcl_11g> DROP INDEX your_text_idx
2 /
Index dropped.
SCOTT@orcl_11g> BEGIN
2 CTX_DDL.CREATE_PREFERENCE ('your_lexer', 'BASIC_LEXER');
3 CTX_DDL.SET_ATTRIBUTE ('your_lexer', 'SKIPJOINS', '''');
4 END;
5 /
PL/SQL procedure successfully completed.
SCOTT@orcl_11g> CREATE INDEX your_text_idx ON caps_resource (nm_resource)
2 INDEXTYPE IS CTXSYS.CONTEXT
3 PARAMETERS
4 ('STOPLIST CTXSYS.EMPTY_STOPLIST
5 LEXER your_lexer')
6 /
Index created.
SCOTT@orcl_11g> SELECT token_text FROM dr$your_text_idx$i
2 /
TOKEN_TEXT
ROSYS
SCOTT@orcl_11g> SELECT * FROM caps_resource
2 WHERE CONTAINS (nm_resource, 'FUZZY (rosies, 0, 5000, weight)') > 0
3 /
NM_RESOURCE
Rosy's
SCOTT@orcl_11g> -
Select query does not return rows
Hi all,
The following query does not returning rows even though values are there in table.
Kindly let me know why it is creating problem.
thanks, P Prakash
/* Formatted on 2011/05/11 16:44 (Formatter Plus v4.8.8) */
SELECT pr.pa_rqst_sid, ptr.sbmtr_trnsctn_idntfr, ptr.athrztn_infrmtn,
DECODE (ou.org_unit_name,
'PA - MDCH', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
'PA - MPRO', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_2_PA'),
'PA - DEFAULT', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
NULL
) AS intrchng_sndr_idntfr,
ptr.intrchng_sndr_idntfr AS intrchng_rcvr_idntfr, ptr.usg_indctr,
ptr.intrchng_sndr_idntfr AS applctn_rcvr_code,
ptr.trnsctn_set_cntrl_nmbr AS trnsctn_set_cntrl_nmbr,
ptr.athrztn_infrmtn_qlfr AS athrztn_infrmtn_qlfr,
ptr.scrty_infrmtn_qlfr AS scrty_infrmtn_qlfr,
ptr.scrty_infrmtn AS scrty_infrmtn,
ptr.intrchng_sndr_idntfr_qlfr AS intrchng_sndr_idntfr_qlfr,
ptr.intrchng_rcvr_idntfr_qlfr AS intrchng_rcvr_idntfr_qlfr,
ptr.intrchng_cntrl_stndrds_idntfr AS intrchng_cntrl_stndrds_idntfr,
ptr.intrchng_cntrl_vrsn_nmbr AS intrchng_cntrl_vrsn_nmbr,
ptr.intrchng_cntrl_nmbr AS intrchng_cntrl_nmbr,
ptr.acknwldgmnt_rqstd_indctr AS acknwldgmnt_rqstd_indctr,
ptr.cmpnt_elmnt_sprtr AS cmpnt_elmnt_sprtr,
ptr.fnctnl_idntfr_code AS fnctnl_idntfr_code,
ptr.grp_cntrl_nmbr AS grp_cntrl_nmbr,
ptr.rspnsbl_agncy_code AS rspnsbl_agncy_code,
ptr.vrsn_rls_indstry_idntfr_code AS vrsn_rls_indstry_idntfr_code
FROM pa_request pr, pa_transaction_request ptr, org_unit ou
WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
AND pr.org_unit_sid = ou.org_unit_sid
AND pr.oprtnl_flag = 'A'
AND ptr.oprtnl_flag = 'A'
AND ou.oprtnl_flag = 'A'
AND pr.pa_mode_type_lkpcd = 'BT'
AND (pr.status_cid = 86 OR pr.status_cid IN
(20, 70, 30, 80, 25, 101, 96)
AND pr.pa_rqst_sid = 75006271
ORDER BY pr.pa_rqst_sid;
the query is not giving result for this particular request sid.75006271 is present in table.833560 wrote:
Hi all,
The following query does not returning rows even though values are there in table.
Kindly let me know why it is creating problem.
thanks, P Prakash
/* Formatted on 2011/05/11 16:44 (Formatter Plus v4.8.8) */
SELECT pr.pa_rqst_sid, ptr.sbmtr_trnsctn_idntfr, ptr.athrztn_infrmtn,
DECODE (ou.org_unit_name,
'PA - MDCH', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
'PA - MPRO', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_2_PA'),
'PA - DEFAULT', (SELECT property_value
FROM hipaa_system_defaults
WHERE property_name = 'RECEIVER_ID_1_PA'),
NULL
) AS intrchng_sndr_idntfr,
ptr.intrchng_sndr_idntfr AS intrchng_rcvr_idntfr, ptr.usg_indctr,
ptr.intrchng_sndr_idntfr AS applctn_rcvr_code,
ptr.trnsctn_set_cntrl_nmbr AS trnsctn_set_cntrl_nmbr,
ptr.athrztn_infrmtn_qlfr AS athrztn_infrmtn_qlfr,
ptr.scrty_infrmtn_qlfr AS scrty_infrmtn_qlfr,
ptr.scrty_infrmtn AS scrty_infrmtn,
ptr.intrchng_sndr_idntfr_qlfr AS intrchng_sndr_idntfr_qlfr,
ptr.intrchng_rcvr_idntfr_qlfr AS intrchng_rcvr_idntfr_qlfr,
ptr.intrchng_cntrl_stndrds_idntfr AS intrchng_cntrl_stndrds_idntfr,
ptr.intrchng_cntrl_vrsn_nmbr AS intrchng_cntrl_vrsn_nmbr,
ptr.intrchng_cntrl_nmbr AS intrchng_cntrl_nmbr,
ptr.acknwldgmnt_rqstd_indctr AS acknwldgmnt_rqstd_indctr,
ptr.cmpnt_elmnt_sprtr AS cmpnt_elmnt_sprtr,
ptr.fnctnl_idntfr_code AS fnctnl_idntfr_code,
ptr.grp_cntrl_nmbr AS grp_cntrl_nmbr,
ptr.rspnsbl_agncy_code AS rspnsbl_agncy_code,
ptr.vrsn_rls_indstry_idntfr_code AS vrsn_rls_indstry_idntfr_code
FROM pa_request pr, pa_transaction_request ptr, org_unit ou
WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
AND pr.org_unit_sid = ou.org_unit_sid
AND pr.oprtnl_flag = 'A'
AND ptr.oprtnl_flag = 'A'
AND ou.oprtnl_flag = 'A'
AND pr.pa_mode_type_lkpcd = 'BT'
AND (pr.status_cid = 86 OR pr.status_cid IN
(20, 70, 30, 80, 25, 101, 96)
AND pr.pa_rqst_sid = 75006271
ORDER BY pr.pa_rqst_sid;
Hi,
Its very difficult to analyse the query without any data being provided. So I suggest you to debug the above query by keeping basic join condition intact and comment out all the other where conditions for initial run.
FROM pa_request pr, pa_transaction_request ptr, org_unit ou
WHERE ptr.pa_trnsctn_rqst_sid = pr.pa_trnsctn_rqst_sid
--AND pr.org_unit_sid = ou.org_unit_sid
--AND pr.oprtnl_flag = 'A'
--AND ptr.oprtnl_flag = 'A'
--AND ou.oprtnl_flag = 'A'
--AND pr.pa_mode_type_lkpcd = 'BT'
--AND (pr.status_cid = 86 OR pr.status_cid IN
(20, 70, 30, 80, 25, 101, 96)
--AND pr.pa_rqst_sid = 75006271If if you have given join conditions proper and if data exists ,you can see set of rows displayed.
Next step is to keep on uncommenting each of the where condition
AND pr.oprtnl_flag = 'A'Like this you 'll come to the condition which does not match your requirement
Hope this helps
Regards,
Achyut -
Summary: API: JR_CHECK_REF.CHECK_FOL_REFS does not return proper results
Description:
For User Extensions, the API is returning unexpected/unexplained results for Association types identified as not in the repository.
Scenario 1) EL_TYPE and REF_TYPE return properties that are not aligned with either the EL_IRID/EL_IVID, EL_PAR_IVID, or REF_PAR_IRID.
However, REF_IRID (pointing to the missing object) is correct.
Scenario 2) EL_TYPE and REF_TYPE return properties that are not aligned with either the EL_IRID/EL_IVID, EL_PAR_IVID, or REF_PAR_IRID.
However, all the objects are present in the repository.
Any idea?
~Shampa M.You might get a better response if you ask this in the Designer Forun.
-
SDO_RELATE does not return expected points
Hi,
I have a problem with a query which does not return the results I am expecting. I think it may be to do with geodetic data v projected data but fail to see how.
the table points2 contains point data stored in Lat Long (SRID 8307)
Here is my query:
SELECT mdsys.sdo_cs.transform(points2.assetextent,26943) FROM points2
WHERE SDO_RELATE (points2.ASSETEXTENT, MDSYS.SDO_GEOMETRY(2003,26943 ,NULL, mdsys.SDO_ELEM_INFO_ARRAY(1,1003,3), mdsys.SDO_ORDINATE_ARRAY(1831679.1743184,644380.053168771,1831699.1743184,645000.053168677)),'mask=anyinteract') = 'TRUE';
This query returns 0 results. if perform the same query with SDO_FILTER rather than SDO_RELATE then I get 1 result (which is what I expect). the result is this:
MDSYS.SDO_CS.TRANSFORM(POINTS2.ASSETEXTENT,26943)(SDO_GTYPE, SDO_SRID, SDO_POINT(X, Y, Z), SDO_ELEM_INFO, SDO_ORDINATES)
SDO_GEOMETRY(3001, 26943, NULL, SDO_ELEM_INFO_ARRAY(1, 1, 1), SDO_ORDINATE_ARRAY(1831689.17, 644440.053, 0))
1 row selected.
As can clearly be seen from this result the point is 10m from the both vertical edges of the optimised rectangle and at least 60m from the horizontal edges.
The sdo_geom_metadata_table entry for this table is:
SDO_OWNER SDO_TABLE_NAME
SDO_COLUMN_NAME
SDO_DIMINFO(SDO_DIMNAME, SDO_LB, SDO_UB, SDO_TOLERANCE)
SDO_SRID
VST POINTS2
ASSETEXTENT
SDO_DIM_ARRAY(SDO_DIM_ELEMENT('X', -180, 180, .005), SDO_DIM_ELEMENT('Y', -90, 90, .005), SDO_DIM_ELEMENT('Z', -999, 5000, .005))
8307
Anyone got any pointers? If you need more info just let me know
Samhi,
can you try this query and let us know what you get ?
Transform the geometry to 8307 and pass it into the sdo_relate
operator.
SELECT mdsys.sdo_cs.transform(points2.assetextent,26943) FROM points2
WHERE SDO_RELATE (points2.ASSETEXTENT,
sdo_cs.transform(MDSYS.SDO_GEOMETRY(2003,26943 ,NULL, mdsys.SDO_ELEM_INFO_ARRAY(1,1003,3), mdsys.SDO_ORDINATE_ARRAY(1831679.1743184,644380.053168771,
1831699.1743184,645000.053168677)), 8307), 'mask=anyinteract') = 'TRUE';
Maybe you are looking for
-
How can i develop a custom Printer driver in LabVIEW
I have one application in which when ever user prints a document (He will print only certain type of documents) it should get printed using some standard printer but at the same time the data should get communicated to our own custom device which is
-
Photoshop or Photoshop Elements?
I am not sure which product to purchase. I need to edit photos and create mood boards. Should I buy Photoshop or Photoshop Elements?
-
How to include a page conditionally ?
Hi all ! I have a web page made of different sections. Every section is included in a separate page. <f:view> <h:form> <%@ include file="filters.jsp" %> <%@ include file="dataTableAdmin.jsp"
-
Hi, I have just uploaded about 800 pictures into a new album within a project (I keep things filed as 1 project per month and split them into albums for each day) from a concert I covered yesterday. I have just had a look at a few images, seem fine a
-
Can Acrobat print thumbnails of pages?
I have a long multipage document that i want to print out as thumbnails on a page, maybe 10 pages per sheet or something like that. Is there any way Acrobat Pro can do that? If not, what out there can do that??