Find specific item in a hierarchy
hi all,
i have a hierarchy created.i have one input field and one submit button.when i enter the an item(eg.company code) in the input field ,that particular row should be pointed.How can i do that.
regards
kukku
hi,
Catalog is the .java file from vr i m getting my data for the tree hierarchy.
i am getting the row id of the given item.if i set the lead selection with that row id,i m getting array index out of bound exception.
here is the code..
for (i = 0; i < Catalog.getLength(); i++) {
if (booktitle.equalsIgnoreCase(Catalog.getTITLE(i))){
msgmgr2.reportSuccess("book id1 " + Catalog.getCATALOGID(i));
x = i;
break;
msgmgr3.reportSuccess("row id is" + x);
wdContext.nodeCatalogEntries().getCatalogEntriesElementAt(x);
wdContext.setLeadSelection(x);
Similar Messages
-
Find specific item based on itemproperty
Trying to loop through some items in the registry to find the one that contains an itemproperty with a specific value ("VMware Tools"). I was thinking this would work:
Get-Item -Path "HKLM:\Software\Microsoft\Windows\CurrentVersion\Uninstall\*" | Where-Object {(Get-ItemProperty -Path $_ -Name DisplayName) -match "VMware Tools"}
But it just loops through with an error for each item saying
Get-ItemProperty : Cannot find path 'C:\_scripts\HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\Uninstall\{ED98ABF5-B6BF-47ED-92AB-1CDCAB964447}'
because it does not exist.
At line:1 char:95
+ ... Where-Object {(Get-ItemProperty -Path $_ -Name "DisplayName") -match "VMware Too ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
+ CategoryInfo : ObjectNotFound: (C:\_scripts\HKE...B-1CDCAB964447}:String) [Get-ItemProperty], ItemNotFoundException
+ FullyQualifiedErrorId : PathNotFound,Microsoft.PowerShell.Commands.GetItemPropertyCommand
The guid changes for each error. What am I missing here?Hi Pat,
I’m writing to just check in to see
if the suggestions were helpful. If you need further help, please feel free to reply this post directly so we will be notified to follow it up.
If you
have any feedback on our support, please click here.
Best Regards,
Anna Wang
TechNet Community Support -
How to find open item in bsik table
anyone can tell me how to find open items for vendor in bsik table or it will store only open item.
i debug the tcode fbl1n to see . but not able to find
KumarHi
There is no specific field name for open item in the table BSIK.Yes BSIK include a structure named ABSIK_PSO and which is a "IS-PS: Data appendix of open items vendors".
Yes there is a field name
BUZEI - Line Item
EBELP - Item
You check with your requirement again and try to use these fields,if you still facing some probs than write back to me,i will try to give the appropriate solutions.
Thanks
Mrutyunjaya Tripathy -
Get the index of a specific item in a Datagrid
Is their an easy way to get the index of specific item in a datagrid. So say my DG holds ten items of type foo. I need to find the index of foo #8. Remember the foo's may not be in orde 1-8 because of sorting or something.
Do I just need to run iterate through the rows and find, which matches the object I am looking for?Thats it thanks. DG is getting refreshed so old objects don't match up to new objects so have to do it manually.
Thx. -
New PO from specific item of old PO doc
Hello ,
I have one qeustion about PO.
when I can not find PO on the left pane (PO overview )
I have to find that...(it is ok ) but when i try to copy specific item(lines) of PO
document.. to New PO
I coundn't.
Could you pls kindly let me know?Hi,
Your requirement is possible to adopted for the particular PO line item copied to new purchase order using T-code ME21N document overview option are as follows.
Step 1 - Type ME21N - Create Purchase order
Step 2 - Select PO document type, Vendor & PO date.
Step 3 - Click Document Overview button and open new window menu in PO screen left side
Step 4 - Click Selection Variant button in the left side window menu and then select Purchase Order option.
Step 5 - Now next screen open and give OLD Purchase Order document number in Purchasing Document ______ input field &
other input data filed is empty.
Step 6 - Now Execute the screen and shown old PO number with 5 times ( if old PO 5 line items are available)
Step 7 - In the OLD PO first 3 line items to create new PO, Select 1st line using mouse and then adopt button click
(Selection variant next button), 2nd line select & adopted and finally 3rd line select and then adopted. After adopted 3
lines are come to new purchase order line item.
Step 8 - Click Document overview button, the left side window menu closed.
Step 9 - Adopted 3 line item rate, qty and tax details to be provide and then SAVE as new Purchase Order.
Hope, the steps are very useful to you.
Regards,
K.Rajendran -
How can I access user permission for specific items in Sharepoint 2013 via REST API?
I want to access user permissions for specific items like lists, documents, folders etc. via the REST API.
Currently I am hitting the following endpoint:
http://win-5a8pp4v402g/sharepoint_test/site_1/_api/web/getUserEffectivePermissions('win-5a8pp4v402g\\Sharepoint User 2')
However the response looks like this:
"d":
"GetUserEffectivePermissions":
"__metadata":
"type": "SP.BasePermissions"
"High": "0",
"Low": "0"
I cant understand why high and low are both 0? I have added the user to a specific group. Also this is the same result for each of the users. Another thing to note is that I havent added the "Guest" user in the sharepoint server. So when I hit the endpoint for the Guest user, it still shows the same response. So I know there is something I am doing wrong.I want to access permission of a user for a specific item, say a document using the REST API. Can someone tell me how? What would be the endpoint?Thanks for the reply. Although this works for Lists, I need to get permissions of documents too. Here is what I have tried:
http://win-5a8pp4v402g/sharepoint_test/site_1/_api/web/GetFileByServerRelativeUrl('/sharepoint_test/site_1/Documents/file1.txt')/GetUserEffectivePermissions(@user)?@user='i%3A0%23%2Ew%7Cwin-5a8pp4v402g%5Csharepoint%20user%201'
And the response is:
"error":
"code": "-1, Microsoft.SharePoint.Client.ResourceNotFoundException",
"message":
"lang": "en-US",
"value": "Cannot find resource for the request GetUserEffectivePermissions."
Clearly this doesnt work for a file. Whats wrong? -
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 -
We are setting up a new Windows 2012 server. Users access this server using a 'terminal services'. We have mapped some folders from a legacy server (different domain). Using group policy preferences, we map this folder as a drive for a user.
When user wants to delete some files, he get's the error: 'Could not find this item ..' The error is displayed to the user and it looks like the file can't be deleted. But when I press the F5 (refresh) button, the file is gone. My problem is very similar
to a problem in the following post: http://social.technet.microsoft.com/Forums/windowsserver/en-US/042e747a-0e25-4190-b0a2-82f3e9635eb0/can-not-delete-file-error-is-could-not-find-this-item?forum=w7itprogeneral
When I create 'txt' (or 'pdf', 'zip') file, i can delete it without the error. When I create 'xlsx', 'docx', 'pptx', 'bmp', 'jpg', I get the error.
Does somebody have an idea, how can I fix the cause of this problem? (I can't tell to users to hit the F5 button everytime when they face this issue)
Thank you for your help in advance!
JurajHi,
Please check if the problematic files’ filename ended with a dot. If so, you could refer to the article below to troubleshoot the issue:
Solved: “Cannot read from the source file or disk”
http://blog.dotsmart.net/2008/06/12/solved-cannot-read-from-the-source-file-or-disk/
Regards,
Mandy
We
are trying to better understand customer views on social support experience, so your participation in this
interview project would be greatly appreciated if you have time.
Thanks for helping make community forums a great place. -
Change item value when a specific item has changed... how can i do that?
Hi guys, i need to ask something...
Is it possible to have a process or a computation, that gives value to an item, only when one specific item has changed.
I have other items on my page too, but this two are related, and i need to give a specific value to the first one, only when the value of the second has changed...
Help please
tsveti:)Hey Farhan, i guess i need some help on that easy javascript...
i havent done much thing with it so i have almost none experience with js....
So in 'HTML Form Element Attributes' for the second item I m trying this :
onchange="javascript:{document.getElementById('P1_SUBPROJECT').value = '-1';}"
but when i change the value of this second item, the first one (P1_SUBPROJECT) dont get -1
what am i doing wrong? -
I'm trying to update my iOS to 6.0, using iTunes (with my 4s connected via USB and WiFi is on also). I get a message that 'there are purchased items on my iPhone that have not been transferred to my iTunes library. Yet, I can't find those items! Help! There is not error message number just the text message. I've searched for an answer but have found nothing on "transfering items purchased to your iTunes library".
Right click on your device icon on the left pane of iTunes and click on transfer pur....
-
Report to find specific purchasing org in roles
Dear Experts,
I hope this is not a stupid question, I have searched the forums but cant find a similar post:
I am looking for a report that will help me to identify all of my roles (we only use single roles) that contain a specific purchasing org. I have tried SUIM and dont seem to get anywhere.
Does anyone know if there is a report or table that I can use?
Thanks you
Dawn> Try table AGR_1251 with field $EKGRP for purchasing group . If you know the authorization object then you can input it while searching.
How is looking for a field for a purchasing group going to help her finding specific values for a purchasing organization? (see post title)
Besides that, why restrict on the object and risk missing stuff? -
Can you select a specific item from a listbox via scripting?
This seems like it should be easy, but I've spent quite a few hours trying to figure this out, to no avail. I'm trying to create a button that would automatically select a specific item on a listbox. I though "selectedIndex" would do the trick, but this seems to only work if the user actually selects a specific item on a listbox. I'm looking for the opposite effect, where a person will push a button where a specific item on the listbox gets selected.
Any help would be much appreciated...thanks!You can use the setItemState method for this purpose.
To select the third item use:
ListBox.setItemState(2, 1); -
Could not find selected item matching value "null" in CoreSelectOneRadio
Hello,
I get the following error with my selectOneChoice components:
WARNING Could not find selected item matching value "null" in CoreSelectOneRadio[UIXEditableFacesBeanImpl, id=dyna_2709976_11]
It seem that the component looks for a selectItem object qith its value set to null, so I tried to add one with a null value to no avail. The error don't cause any problem on the rendered page but it might spam the log when many users will be connected. Anyone every got this error and found a fix to stop it from appearing?
Regards,
Simon Lessardyou said you're using selectOneChoice but the error says radio. Is the information correct?
-
Could not find selected item in LOV
hi i follow this sample http://www.scribd.com/doc/2633296/ADF-Learning-6-Dependent-List-Boxes ,but when i select my LOV am geting this error FacesCtrlListBinding> <getInputValue> ADFv: Could not find selected item matching value 100 of type: oracle.jbo.domain.Number in the list-of-values.
am in jdeveloper 11.1.1.6.0the data type am selecting is number but displaying employee name my page is,the value 100 is the employeeid is in db
<?xml version='1.0' encoding='UTF-8'?>
<jsp:root xmlns:jsp="http://java.sun.com/JSP/Page" version="2.1"
xmlns:f="http://java.sun.com/jsf/core"
xmlns:h="http://java.sun.com/jsf/html"
xmlns:af="http://xmlns.oracle.com/adf/faces/rich">
<jsp:directive.page contentType="text/html;charset=UTF-8"/>
<f:view>
<af:document id="d1">
<af:messages id="m1"/>
<af:form id="f1">
<af:panelHeader text="panelHeader 1" id="ph1">
<f:facet name="context"/>
<f:facet name="menuBar"/>
<f:facet name="toolbar">
<af:commandButton actionListener="#{bindings.CreateInsert.execute}"
text="CreateInsert"
id="cb1"/>
</f:facet>
<f:facet name="legend"/>
<f:facet name="info"/>
<af:panelFormLayout id="pfl1">
<af:inputText value="#{bindings.DepartmentId.inputValue}"
label="#{bindings.DepartmentId.hints.label}"
required="#{bindings.DepartmentId.hints.mandatory}"
columns="#{bindings.DepartmentId.hints.displayWidth}"
maximumLength="#{bindings.DepartmentId.hints.precision}"
shortDesc="#{bindings.DepartmentId.hints.tooltip}"
id="it1" rendered="false">
<f:validator binding="#{bindings.DepartmentId.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.DepartmentId.format}"/>
</af:inputText>
<af:inputText value="#{bindings.EmployeeId.inputValue}"
label="#{bindings.EmployeeId.hints.label}"
required="#{bindings.EmployeeId.hints.mandatory}"
columns="#{bindings.EmployeeId.hints.displayWidth}"
maximumLength="#{bindings.EmployeeId.hints.precision}"
shortDesc="#{bindings.EmployeeId.hints.tooltip}"
id="it3" rendered="false">
<f:validator binding="#{bindings.EmployeeId.validator}"/>
<af:convertNumber groupingUsed="false"
pattern="#{bindings.EmployeeId.format}"/>
</af:inputText>
<af:inputText value="#{bindings.Password.inputValue}"
label="#{bindings.Password.hints.label}"
required="#{bindings.Password.hints.mandatory}"
columns="#{bindings.Password.hints.displayWidth}"
maximumLength="#{bindings.Password.hints.precision}"
shortDesc="#{bindings.Password.hints.tooltip}"
id="it4">
<f:validator binding="#{bindings.Password.validator}"/>
</af:inputText>
<af:inputText value="#{bindings.UserId.inputValue}"
label="#{bindings.UserId.hints.label}"
required="#{bindings.UserId.hints.mandatory}"
columns="#{bindings.UserId.hints.displayWidth}"
maximumLength="#{bindings.UserId.hints.precision}"
shortDesc="#{bindings.UserId.hints.tooltip}" id="it2">
<f:validator binding="#{bindings.UserId.validator}"/>
</af:inputText>
<af:selectOneChoice value="#{bindings.DepartmentId1.inputValue}"
label="#{bindings.DepartmentId1.label}"
required="#{bindings.DepartmentId1.hints.mandatory}"
shortDesc="#{bindings.DepartmentId1.hints.tooltip}"
id="soc1" autoSubmit="true">
<f:selectItems value="#{bindings.DepartmentId1.items}" id="si1"/>
</af:selectOneChoice>
<af:selectOneChoice value="#{bindings.EmployeeId1.inputValue}"
label="#{bindings.EmployeeId1.label}"
required="#{bindings.EmployeeId1.hints.mandatory}"
shortDesc="#{bindings.EmployeeId1.hints.tooltip}"
id="soc2" partialTriggers="soc1">
<f:selectItems value="#{bindings.EmployeeId1.items}" id="si2"/>
</af:selectOneChoice>
</af:panelFormLayout>
</af:panelHeader>
</af:form>
</af:document>
</f:view>
</jsp:root>my view is
<?xml version="1.0" encoding="windows-1252" ?>
<!DOCTYPE ViewObject SYSTEM "jbo_03_01.dtd">
<!---->
<ViewObject
xmlns="http://xmlns.oracle.com/bc4j"
Name="VikUserViewObj"
Version="11.1.1.61.92"
InheritPersonalization="true"
SelectList="VikUser.DEPARTMENT_ID,
VikUser.EMPLOYEE_ID,
VikUser.PASSWORD,
VikUser.USER_ID"
FromList="VIKUSER VikUser"
BindingStyle="OracleName"
CustomQuery="false"
PageIterMode="Full"
UseGlueCode="false">
<Properties>
<SchemaBasedProperties>
<LABEL
ResId="model.VikUserViewObj_LABEL"/>
</SchemaBasedProperties>
</Properties>
<EntityUsage
Name="VikUser"
Entity="model.VikUser"/>
<ViewAttribute
Name="DepartmentId"
IsNotNull="true"
PrecisionRule="true"
EntityAttrName="DepartmentId"
EntityUsage="VikUser"
AliasName="DEPARTMENT_ID"/>
<ViewAttribute
Name="EmployeeId"
IsNotNull="true"
PrecisionRule="true"
EntityAttrName="EmployeeId"
EntityUsage="VikUser"
AliasName="EMPLOYEE_ID"/>
<ViewAttribute
Name="Password"
PrecisionRule="true"
EntityAttrName="Password"
EntityUsage="VikUser"
AliasName="PASSWORD"/>
<ViewAttribute
Name="UserId"
PrecisionRule="true"
EntityAttrName="UserId"
EntityUsage="VikUser"
AliasName="USER_ID"/>
<ResourceBundle>
<PropertiesBundle
PropertiesFile="model.ModelBundle"/>
</ResourceBundle>
</ViewObject>Edited by: user0994 on 2012/10/20 9:07 PM
Edited by: user0994 on 2012/10/20 9:29 PM
Edited by: user0994 on 2012/10/20 10:41 PM -
Unable to Delete Folder, Could not find this item
Currently, I'm having problem deleting an old Folder. Previously, I used its parent as a shared folder, but one day when I tried to clear that folder there is one folder that has duplicate. The problem is one of them (the old one) can't be deleted even after
I deleted all files/folders in that folder, I can't remove/rename that folder (could not find this item) not even with cmd as Administrator. I've tried to defrag my Windows Sever 2012 but the problem still persists. How to fix this problem?
Thanks in advance.I had this same problem using Server 2012 Std. I tried various options of taking ownership of the parent folder because the Security properties of the folder I was trying to delete were blank, using CMD and Dir /x etc. I even tried sharing
the parent folder and then using Server 2008 R2. None of them worked. When I tried Dir /x Server 2012 doesn't show the 8 character filename with the ~1. I tried typing it in myself, but that didn't work either. I then found that there was a space at the end
of the folder name. I then tried all the CMD options again using a space, still no luck. Then I finally stumbled upon this solution:
Open CMD and then type:
rd /s "\\?\D:\bad\folder\path "
example: rd /s "\\?\D:\Sharedata\folder1\folder2 " - note the space after folder2 as per the space in the folder name. Obviously D: is the drive that has the folder on it.
This worked for me
I've had a similar problem as detailed above; a power shell script that I wrote incorrectly tested for the existence of a directory and created multiple instances of the same directory.
I can confirm that the post from Rayza73 works like a charm!
@Rayza73: First up thanks for the information. Would it be possible for you to describe how the command is able to find and delete the directory?
Many thanks
Shaun
Maybe you are looking for
-
Urgent - Need help with Lighting Effects Filter
Hi, I need urgent help on something regarding the Lighting Effects filter in Adobe Photoshop CS5. I need lighting effect urgently to complete a project. I am using Photoshop CS5 on a Windows Vista computer in 64-bit mode. On the net it is given that
-
Acrobat XI Pro Word 2013 add-in stopped working
I was using Acrobat yesterday no problems... Today, Acrobat XI Pro's add-in in Word 2013 (Office 365 click-to-run version) just stopped working. I tried uninstalling Office and acrobat, reboot... reinstall office and acrobat... download all updates..
-
XI: idoc 2 file scenario( Contain error in SM58)
Hi experts, Here i am having one issue. i have done Idoc 2 file scenario...i have created material in R/3 successfully. when i have sent the material to legacy system..Idoc was generated Successfully in r/3 but i haven't seen that message in SXMB_MON
-
Why are youtube videos downloading as htlm documents and not mp4
I was able to download YouTube videos as MP4 by default. However for the last week or so, the videos are downloaded as HTML Document File. Please advise what do I need to do to revert to download as MP4. Thanks
-
Project cannot be opened in Premiere Elements 11. "SCWeb.sc file is missing"
Adobe Premiere Elements 11 cannot open new or existing project. Error is "SCWeb.sc file is missing". Please help.