Process to get info from Multiple textboxes and check boxes on a page
Hi,
Could you help me with setting up a process which selects the data from multiple textboxes and checkboxes on a page and should be pointing to a single table in the database.
Thanks in advance,
Verity.
Thanks Peter for the reply,
Actually the problem is, there are lot of check boxes. And process should be like when a user clicks on, say 7 out of 10 checkboxes, only those values needs to be inserted in a table in database. Actually my "insert all" statement is inserting 7 values and also the other three values as null. I tried insert with 'when' and 'if' but didnt get through. my sample insert statement is as follows. Could you help me here.
DECLARE
BEGIN
insert all
when (:P1_POT='PT') then
into TABLENAME
(oid,year, code)
values
(:F1_ID, :F1_YEAR, :P1_HR)
when (:P1_HOL='SC')
then into TABLENAME
(OID, year,code)
values
(:F1_ID, :F1_YEAR, :P1_SD)
select oid,year,code from TABLENAME;
END;
Similar Messages
-
Search result to get data from bing search and display it in sharepoint page.
I have configured result source which gets data from bing site,i have given following url as source url
http://www.bing.com/search?q={?searchterms}&format=rss&Market=en-Us
but it returns only 8 results from RSS. i want to get all results of search and display it in my SharePoint search results page.
any pointers will be helpful.Hi,
According to your post, my understanding is that you wanted to search result to get data from bing search and displayed it in sharepoint page.
To display more items, you can modify the item number when you add
New Query Rule.
To get all results, I recommend to use the “Show More”
link in the result page.
You can enter the URL when you add New Query Rule:
"More" link goes to the following URL: http://www.bing.com/search?q={searchterms}
Here is a great blog for your reference:
http://sharepoint-community.net/profiles/blogs/integrate-bing-with-sharepoint-online-2013-search
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How do I get info from Active Directory and use it in my web-applications?
I borrowed a nice piece of code for JNDI hits against Active Directory from this website: http://www.sbfsbo.com/mike/JndiTutorial/
I have altered it and am trying to use it to retrieve info from our Active Directory Server.
I altered it to point to my domain, and I want to retrieve a person's full name(CN), e-mail address and their work location.
I've looked at lots of examples, I've tried lots of things, but I'm really missing something. I'm new to Java, new to JNDI, new to LDAP, new to AD and new to Tomcat. Any help would be so appreciated.
Thanks,
To show you the code, and the error message, I've changed the actual names I used for connection.
What am I not coding right? I get an error message like this:
javax.naming.NameNotFoundException[LDAP error code 32 - 0000208D: nameErr DSID:03101c9 problem 2001 (no Object), data 0,best match of DC=mycomp, DC=isd, remaining name dc=mycomp, dc=isd
[code]
import java.util.Hashtable;
import java.util.Enumeration;
import javax.naming.*;
import javax.naming.directory.*;
public class JNDISearch2 {
// initial context implementation
public static String INITCTX = "com.sun.jndi.ldap.LdapCtxFactory";
public static String MY_HOST = "ldap://99.999.9.9:389/dc=mycomp,dc=isd";
public static String MGR_DN = "CN=connectionID,OU=CO,dc=mycomp,dc=isd";
public static String MGR_PW = "connectionPassword";
public static String MY_SEARCHBASE = "dc=mycomp,dc=isd";
public static String MY_FILTER =
"(&(objectClass=user)(sAMAccountName=usersignonname))";
// Specify which attributes we are looking for
public static String MY_ATTRS[] =
{ "cn", "telephoneNumber", "postalAddress", "mail" };
public static void main(String args[]) {
try { //----------------------------------------------------------
// Binding
// Hashtable for environmental information
Hashtable env = new Hashtable();
// Specify which class to use for our JNDI Provider
env.put(Context.INITIAL_CONTEXT_FACTORY, INITCTX);
// Specify the host and port to use for directory service
env.put(Context.PROVIDER_URL, MY_HOST);
// Security Information
env.put(Context.SECURITY_AUTHENTICATION, "simple");
env.put(Context.SECURITY_PRINCIPAL, MGR_DN);
env.put(Context.SECURITY_CREDENTIALS, MGR_PW);
// Get a reference toa directory context
DirContext ctx = new InitialDirContext(env);
// Begin search
// Specify the scope of the search
SearchControls constraints = new SearchControls();
constraints.setSearchScope(SearchControls.SUBTREE_SCOPE);
// Perform the actual search
// We give it a searchbase, a filter and the constraints
// containing the scope of the search
NamingEnumeration results = ctx.search(MY_SEARCHBASE, MY_FILTER, constraints);
// Now step through the search results
while (results != null && results.hasMore()) {
SearchResult sr = (SearchResult) results.next();
String dn = sr.getName() + ", " + MY_SEARCHBASE;
System.out.println("Distinguished Name is " + dn);
// Code for displaying attribute list
Attributes ar = ctx.getAttributes(dn, MY_ATTRS);
if (ar == null)
// Has no attributes
System.out.println("Entry " + dn);
System.out.println(" has none of the specified attributes\n");
else // Has some attributes
// Determine the attributes in this record.
for (int i = 0; i < MY_ATTRS.length; i++) {
Attribute attr = ar.get(MY_ATTRS);
if (attr != null) {
System.out.println(MY_ATTRS[i] + ":");
// Gather all values for the specified attribute.
for (Enumeration vals = attr.getAll(); vals.hasMoreElements();) {
System.out.println("\t" + vals.nextElement());
// System.out.println ("\n");
// End search
} // end try
catch (Exception e) {
e.printStackTrace();
System.exit(1);
My JNDIRealm in Tomcat which actually does the initial authentication looks like this:(again, for security purposes, I've changed the access names and passwords, etc.)
<Realm className="org.apache.catalina.realm.JNDIRealm" debug="99"
connectionURL="ldap://99.999.9.9:389"
connectionName="CN=connectionId,OU=CO,dc=mycomp,dc=isd"
connectionPassword="connectionPassword"
referrals="follow"
userBase="dc=mycomp,dc=isd"
userSearch="(&(sAMAccountName={0})(objectClass=user))"
userSubtree="true"
roleBase="dc=mycomp, dc=isd"
roleSearch="(uniqueMember={0})"
rolename="cn"
/>
I'd be so grateful for any help.
Any suggestions about using the data from Active directory in web-application.
Thanks.
R.VaughnBy this time you probably have already solved this, but I think the problem is that the Search Base is relative to the attachment point specified with the PROVIDER_URL. Since you already specified "DC=mycomp,DC=isd" in that location, you merely want to set the search base to "". The error message is trying to tell you that it could only find half of the "DC=mycomp, DC=isd, DC=mycomp, DC=isd" that you specified for the search base.
Hope that helps someone.
Ken Gartner
Quadrasis, Inc (We Unify Security, www -dot- quadrasis -dot- com) -
Get Info for Multiple Albums message (but only one was selected)
Please can someone help? I was so full of hope when moving from Windows to the Mac but my hope is rapidly turning to despair.
I have spent several hours putting many of my favourite music CDs into iTunes. All was going well, but suddenly when accessing the “Get Info” of a particular album in order to add Artwork I got a message like “Are you sure you want to get the information of MULTIPLE items” (my emphasis). (The error message may not be word perfect because I clicked the “don't show again” box and haven't seen it since.)
But the point is that I definitely did NOT have multiple items selected. There is nothing I can now do to select “Get Info” for a single album, and as a consequence I will never be able to add Artwork again when necessary.
I looked through the Internet and found references to the com.apple.itunes.plist. However although I can see this using Terminal I cannot find it using Finder! (Why not?)
What on earth is going on? This is no better than Windows, and in fact rather worse: I tried to delete iTunes, since it is obviously corrupted in some obscure way, with a view to re-installing it. But I can't even do that because it is “needed by Mac Os x”!!
Please can you help?davidfrombucks wrote:
Please can someone help? I was so full of hope when moving from Windows to the Mac but my hope is rapidly turning to despair.
I have spent several hours putting many of my favourite music CDs into iTunes. All was going well, but suddenly when accessing the “Get Info” of a particular album in order to add Artwork I got a message like “Are you sure you want to get the information of MULTIPLE items” (my emphasis). (The error message may not be word perfect because I clicked the “don't show again” box and haven't seen it since.)
If you get info on an album, it contssts of multiple songs so it is multiple items.
But the point is that I definitely did NOT have multiple items selected. There is nothing I can now do to select “Get Info” for a single album, and as a consequence I will never be able to add Artwork again when necessary.
You still can get info for multiple items. Checking the Don't show this again box simply stops iTunes from telling you that you have selected multiple items. It will still get info and edit the info for multiple items.
I looked through the Internet and found references to the com.apple.itunes.plist. However although I can see this using Terminal I cannot find it using Finder! (Why not?)
Because by default, Finder searches do not show system files.
But the "problems" you are experiencing are not really problems (just not knowing how it works) and you don't need to mess with that file. -
SWF-file not getting info from UI
Hi All,
I have a dialog that loads a flash-file. This swf-file gets info from my dialog and puts it in a datagrid.
It works well, untill i try it the script on an other computer. The swf-file loads but is not receiving any information given through the UI.
Is it a matter of installing extra options/software on the other pc?
My computer (the script works) is a Windows XP with Adobe Design Premium.
The other computer is also a Windows XP with indesign and flash player installed.
Is there anyone who has an idea?
THANKS
Greetz,
GlenOk, i have the answer to my own question.
I forgot that i had to change the settings in the settings manager of the flash player. -
I get the error "unable to load data class info from sync services" and eventully itunes freezes. will this article help me?
Hello there brigidfromca.
Messages can always be pretty daunting when we're not sure where to start. I was able to locate the following Knowledge Base article that discusses the very message you're getting:
iTunes for Windows: "Unable to load data class" or "Unable to load provider data" sync services alert
http://support.apple.com/kb/TS2690
It is a pretty thorough document with multiple steps to review, but looks to be great place to start for a resolution for you.
Thanks for using Apple Support Communities to reach out to us for answers.
Cheers,
Pedro D. -
I have a new MacBook Air and don't know how to get info from my USB stick and get info from my SD card. Can anyone help, please?
Plug the stick and/or card into the appropriate slots on the side of your Air. Do you see icons for the devices appear on the desktop? Click into them to see what files are there.
Matt -
Fastest way to get data from Multiple lists across multiple site collections
HI
I need to get data from multiple lists which spread across 20 site collections and need to show it as list view.
I have searched on internet about this and got some info like options would be to use search core APIs or BCS . I can't use search because I want real time data. Not sure of any other ways.
if anybody can provide ideas it would be help.Might LINQ be an option for you? Using
LINQPad and the
SharePoint Connector, you should be able to write a query that'll retrieve this data, from which you can tabulate it. I'm not sure how you'd be able to automate this any further so that it's then imported in as list.
For something more specific, I used a third party tool called the
Lightning Tools Lightning Conductor, which is essence a powerful content roll-up tool. In one of my solutions, I created a calculated column that gave an order / ranking on each item, so that when lists were combined, they'd still have some form of
order. The web part is also fairly customisable and has always proven a useful tool.
Hope that helps.
Steven Andrews
SharePoint Business Analyst: LiveNation Entertainment
Blog: baron72.wordpress.com
Twitter: Follow @backpackerd00d
My Wiki Articles:
CodePlex Corner Series
Please remember to mark your question as "answered" if this solves (or helps) your problem. -
Jdbc getting data from multiple tables
hi guys
how can i get data from multiple tables in MSAccess
please help>
here is code thata i want to do
i have 3 tables in my MSAccess databace
Stud_O which consist name,surname fields
Stud_I consist address,tel
Stud_E department,faculty fields
Based on this I would guess that you are missing a key field. There is no way to connect the tables.
I make the class to insert data to the tables. But
cant do getting datas from this tables.
can anybody help me in making query
and method that displays reultset strings to the
textBoxes
A select ...
select name,surname from Stud_O. Use the executeQuery() method. -
HT201303 How do i delete my credit card info from i tunes and still down load stuff??
How do i delete my credit card info from i tunes and still down load stuff??
I think this issue has already been resolved in other discussions, please review Apple Discussions more carefully before you start a new discussion. This makes it easier for people to find the "resolved" discussions when searching for the anwers, like you are.
But I'll still give you some info.
I would suggest that you sign into your iTunes Store account using a computer as mobile devices can sometimes not update the info on your iTunes Store account(all based on connection and some security features on your account). Once you sign in, click the arrow next to your email address in the upper right corner of the screen and then click "Account". In the Apple ID summary, you can click edit in the payment section and then you need to click "None" that appears. Try these steps:
click this link:
https://phobos.apple.com/accountSummary
(If you are not already signed in, you will need to enter your iTunes Store account name and password and then click the Account Info button to sign in.)
The Apple Account Information page will appear. On this page, click the Edit Payment Information button, which is the second button from the top.
On the Edit Payment Information page, select "None" from the list of credit card types. This will delete your billing information.
Be sure to click the Done button at the bottom of the page to save your changes.
Please note: you cant remove your credit card if have an outstanding balance without providing a new credit card or iTunes Store Gift Card(needs to process all payments before you can remove a credit card). Also, any active allowances or subscrtiptions(i think) will not allow the credit card to be removed.
Some people are not given the option to remove their credit card. This indicates a billing issue with your account. Email iTunes Store Support for assitance, but I would make sure you havn't used the iTunes Store account for a while(week) and then try again.
All Apple ID info is private, so only the accoutn owner can edit the information. I suggest that you keep trying and trying after restarting your computer and many sign in and sign outs before you give up.
_W_W_W_._I_N_F_O_W_A_R_S_._C_O_M_ -
How do I get files from multiple DVDs that are using thesame file names?
How do I get files from multiple DVDs that are using thesame file names? Message says "file already exists in catalog"
Message was edited by: marcr56marcr56
I am viewing your question from different perspective, that is, the issue that you face when you are ripping VOBs from a second DVD-VIDEO on DVD disc using Premiere Elements,
It is best to give the Premiere Elements version and computer operating system that it is running on. In the absence of that, I will generalize.
Assuming that you are using
Premiere Elements 12
Add Media
"DVD Camera or Computer Drive"
Video Importer
Typically the Video Importer Save In: is C:\Users\Owner\Videos
Each of your DVD discs is going to have the same names for the ripped VOBs (VTS_01_1.VOB and so on depending on the duration of the movie). Consequently, after the ripping of the first DVD's VOBs and their save to Videos, you will end up with that "files already existing..." block for the ripping of the VOBs from the second DVD.
The answer is, for each DVD disc VOB ripping, to plan ahead and create and set for different folders in Videos in the Save In field of the Video Importer.
Please review and then let us know if that works for you. Please do not hesitate to ask if you need clarification on anything that I have written.
Thank you.
ATR. -
It is possible to get info from the PDF
Hi Everyone,
I'm new baby to acrobat using javascript. It is possible to get info from the PDF.
The Info contain like Color space, Trim size, which font used depend on pages and which color is used for image & text.
Thanks in advance.
-yajivHi GKaiseril,
Thanks for prompt response.
Actually I'm a new baby to Acrobat script. Please explain briefly How do I write java script and execute.
I'm familiar with Photoshop and Indesign Script. We are using ExtendedScript Toolkit editor for writing script.
Thanks in advance.
-yajiv -
Getting MBeans from multiple MBeanHomes
I'm having trouble getting ServerRuntimeMBeans from multiple MBeanHomes (from different
domains) from within a java program. I get the MBeanHomes OK, but when I request
the ServerRuntime with getRuntimeMBean() I get the first one fine, but the second
gets an Exception:
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic,
Administrators]
The WebLogic domains are 8.1 running the Medical Records demo. I see the same
failure if one of the domains is 6.1.
I don't see anything in the API's that indicate this shouldn't work.
Has anyone else seen this? Is there a workaround?Actually this didn't work when I tried two systems running the Medical Records
demon on 8.1. Both had the same user & password.
Is there any way to get around this?
Satya Ghattu <[email protected]> wrote:
Jeff,
The only way this will work from within one VM is if you have the same
username and password for all your servers.
Thanks,
-satya
Jeff Kehoe wrote:
I'm having trouble getting ServerRuntimeMBeans from multiple MBeanHomes(from different
domains) from within a java program. I get the MBeanHomes OK, butwhen I request
the ServerRuntime with getRuntimeMBean() I get the first one fine,but the second
gets an Exception:
java.lang.SecurityException: [Security:090398]Invalid Subject: principals=[weblogic,
Administrators]
The WebLogic domains are 8.1 running the Medical Records demo. I seethe same
failure if one of the domains is 6.1.
I don't see anything in the API's that indicate this shouldn't work.
Has anyone else seen this? Is there a workaround? -
Retrieve Title field values from multiple lists and add into another list
Hi , Iam trying to retrieve Title field value from multiple lists. and add them into another list. using Javascript. Can any one help me in doing this. Below is the code.. function save() { clientContext = new SP.ClientContext.get_current(); oWebsite = clientContext.get_web(); oList = clientContext.get_web().get_lists().getByTitle('MainList'); clientContext.load(oList); clientContext.executeQueryAsync(OnSucceeded, onQueryFailed); } function GetListItemValue(listName, fieldName) { var list = oWebsite.get_lists().getByTitle(listName); var eventValue = document.getElementById(fieldName).value; eventValue = eventValue.replace(",", ""); var camlQuery = new SP.CamlQuery(); var filterdata = '<view><query><where><eq><fieldref name="Title/"><value type="Text">' + myreqValue.trim() + '</value></fieldref></eq></where></query></view>'; camlQuery.set_viewXml(filterdata); listItems = list.getItems(camlQuery); clientContext.load(list); clientContext.load(listItems, 'Include(Id)'); clientContext.executeQueryAsync(Succeeded,Failed); } function OnSucceeded() { itemCreateInfo = new SP.ListItemCreationInformation(); oListItem = oList.addItem(itemCreateInfo); oListItem.set_item('Title', 'My New Title'); var deptItemLookupField = new SP.FieldLookupValue(); //Problem in below line...I was unable to get ID var getId = GetListItemValue("Listname1", "txtboxname1"); alert("ID" + getId); if (getId != undefined) { deptItemLookupField.set_lookupId(getId); } var getId12 = GetListItemValue("Listname12", "txtboxname12"); alert("ID" + getId12); if (getId12 != undefined) { deptItemLookupField.set_lookupId(getId12); } oListItem.update(); clientContext.executeQueryAsync(itemadded, itemFailed); } function itemadded() { alert('Item added successfully'); } function itemFailed(sender, args) { alert('Item added itemFailed' + args.get_message() + '\n' + args.get_stackTrace()); }
RajHi,
For this requirement, you will need to retrieve all the lists objects you want firstly, then execute the requests one by one to get the value of the Title column using CAML or
LINQ.
How to: Retrieve Lists Using JavaScript
http://msdn.microsoft.com/en-us/library/office/hh185009(v=office.14).aspx
About
retrieve list items:
http://msdn.microsoft.com/en-us/library/office/hh185007(v=office.14).aspx
You can use
Promise in your script to make your requests sequentially:
http://www.shillier.com/archive/2013/03/04/using-promises-with-the-javascript-client-object-model-in-sharepoint-2013.aspx
http://www.learningsharepoint.com/2013/08/13/using-deferred-and-promise-to-handle-async-calls-in-sharepoint-client-object-model/
Best regards
Patrick Liang
TechNet Community Support -
Get information from multiple lists
Hi,
Environment: - SharePoint 2013
Question :- My client needs a get information from multiple list from the same site to be displayed on the page,
they would need a dropdown list with the user names , and once a user is selected all the tasks and calendar entries of the user must be filtered and displayed.
Please suggest how this can be achieved.
Satyam.Hi,
According to your post, my understanding is that you wanted to get information from multiple lists once a user was selected.
There is no out of the box way to accomplish this with SharePoint.
As a workaround, I recommend to create a list to store the user names. Then you can create relationships between lists using the browser UI. Once you select the user name in the parent list, the associated items will be displayed in the child lists.
Here are two great articles for you to take a look at:
http://office.microsoft.com/en-in/sharepoint-server-help/create-list-relationships-by-using-unique-and-lookup-columns-HA101729901.aspx#_Toc270607416
http://msdn.microsoft.com/en-us/library/ff394632.aspx
Best Regards,
Linda Li
Linda Li
TechNet Community Support
Maybe you are looking for
-
ITunes 11.0.3 crashing almost daily
Hi, Since updating to iTunes 11.0.3 via the Mac App Store recently, it has been crashing on an almost daily basis. I leave it open in the background all the time but I will often return to the computer after leaving it unoccupied for several hours th
-
The nice man Joseph Shen helped me with my google problem on my iPhone and worked for 2 days and now not working again please help me solve this problem were I can retrieve my messages on the I phone when I am not at home on my wi Fi is the only tim
-
How BAPI Tables parameters are passed by reference
Hi Gurus, I have a genuine doubt regarding BAPI parameters. I would like to point out the genreal rules of bapi like, 1. BAPI parameters should be passed by value. (Because they are rfc fm's. So both systems will be in different serv
-
Hi all, I'm looking for some help regarding selling Cisco devices. I am a select partner whom did nothing for the first 2 years and just re-certified. I am now ready to make a big push to create a Cisco vertical in my company. I have the resources
-
Microsoft Word is crashing when I try to print
Hi, I'm having problems with printing in Microsoft Word for Mac. I have a new MacBook Air running on OS X 10.9.1. I've installed Microsoft Office 365 and my printer, HP Photosmart B110. I'm not having any problems printing from the internet. When I t