Image control in infopath 2010
hello and sorry for my english.
with infopath 2007 I could use the "Picture Control" to load inside the xml a reference to an image present in the system's resources.
when the user is entering data, clicking on the "Picture Control" show a dialog box that allow him to select a file.
this was possible because it is active the option "allow the search for new images."
This option no longer exists in the "image control" of infopath 2010?
how can I solve the problem?
thx, milko
Hi Badajoz95,
Thanks for your post.
Allow Multiple Selection
If selected, enables users to select more than one item. You may have to write code-behind to support this functionality in your form.
More information:
http://msdn.microsoft.com/en-us/library/ff394643.aspx
Similar Messages
-
How to disable delete option or symbol in attachment control in infopath 2010
Any have any idea how to disable the delete option or symbol near the attached file using attachment control in infopath 2010.
I have created a custom list in sharepoint online 2013(Office 365) and customized it in Infopath forms 2010
i want tht user can attach the files using attachment control but not to allow to delete other attached files.
plzzzzzz help me out :( .Hello,
As per my finding, you have to custom create event receiver to handle this situation. Use "ItemAttachmentDeleting" event to prevent user to delete attachment. Please refer below MSDN link to implement this:
http://stackoverflow.com/questions/2023414/prevent-deletion-of-attachments-from-a-sharepoint-list-item
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Hi ,
Not able to add taxonomy control(activex Control) , under Add/Remove Custom controls in infopath 2010 ..i'm getting the fallowing error ..
error:This control could not be added through custon control wizard,to use this control go to Controls gallery in home tab.
Regards
GirirajHi,
I am getting same error while adding contact selector control. And this control is not visilb in controls gallery on home tab. Please help. Thanks!
Gaurav -
How to delete an Item using Button control in InfoPath 2010
Dear Experts
In my SharePoint 2010 List, I have added and using below controls instead of Ribbons
1) Save (button control)
2) Cancel (button control)
3) Delete (button control)
My requirement is when i click on Delete (button control) in edit form then particular item has to be deleted
How to achieve this
Regards
SantoshHi Santosh,
Please check this
http://www.bizsupportonline.net/browserforms/delete-sharepoint-list-items-object-model-infopath-browser-form.htm
Please remember to click 'Mark as Answer' on the answer if it helps you -
I am creating a browser based InfoPath 2010 form Calendar Filtering
using SharePoint 2010 Calendar List (All Events) and InfoPath 2010. This form has data connection to the Calendar list. Goal is to
compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
Select Year and Select Week. I also have common drop down called
Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
I am able to filter the list based upon Year and Week
on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
Year and Week. Or it needs to show all the values if I
select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
Thanks
Snehal H Rana
Thanks Snehal H.Rana SharePoint ConsultantI am creating a browser based InfoPath 2010 form Calendar Filtering
using SharePoint 2010 Calendar List (All Events) and InfoPath 2010. This form has data connection to the Calendar list. Goal is to
compare Calendar Events from Current Year to Previous Year. I have 2 columns called - Previous Year and Current Year. I have 2 drop-down controls in each columns called
Select Year and Select Week. I also have common drop down called
Select Category which holds category of the events such as weather, power outages and so on. I wish to display specific events on specific date and specific week on both columns.
I am able to filter the list based upon Year and Week
on both these columns by applying rules in the InfoPath 2010 form. The real issue is that I want to apply category filter on the search result of
Year and Week. Or it needs to show all the values if I
select Category value as All. So I wish to apply filter on Search results using Category drop-down list selection.
Hope I could explain this better but I tried to do the best here. Any suggestions, hint, or pointers
Thanks
Snehal H Rana
Thanks Snehal H.Rana SharePoint Consultant -
How to add User Permissions to form created in InfoPath 2010 created for SharePoint document Library
Hi,
I created a form in InfoPath 2010 with three views (one for user input, the other two views to be used by supervisors) and published this to a SharePoint 2010 document library. Now the way this form is supposed to work is that when a User goes to the document
library and adds a document, it is supposed to open the Form with the User's input view. When the User submits the document, only him/her should be able to open and possibly edit the the form. When the Immediate Supervisor opens the form, it should open in
the Supervisors view and allow them to fill in only their section and not be able to edit or alter the user's data. When the Immediate Supervisor saves the document, the Over-all Supervisor should be able to open it in their view and not be able to edit or
alter the sections filled out by the User and Immediate Supervisor.
How would i go about completing this? I have the views created but now have the problem of associating these views with their respective users or groups.Hello,
You need to first create user group in sharepoint site then add user in group according to their role. Later you need to call usergroup.asmx web service to get current logged-In user group name so you can switch view and also apply rule for editing or disabling
controls in form.
Follow this link to get group name:
http://social.technet.microsoft.com/wiki/contents/articles/13271.sharepoint-2010-extracting-user-group-of-current-login-user-in-infopath-2010.aspx
http://social.msdn.microsoft.com/Forums/en-US/018f5184-5c83-4a53-b66b-8c376fc800fc/how-to-get-current-users-sharepoint-group-name-sharepoint-2010-infopath-2010
To apply rule on control:
http://office.microsoft.com/en-in/infopath-help/add-rules-for-performing-other-actions-HA101783373.aspx
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Repeting control in Infopath list form
Hi ,
I want to create repeating control in List InfoPath form... Repeating control only comes in form template, but I have list form which I edited and done the changes in InfoPath, Now I want to add somehow repetign control , how can I do that
if it is not possible any other way I can achieve repeating kind of structure in list InfoPath form .
Please mark answer , if you think answer is helpful or correct.Hi,
According to your post, my understanding is that you want to use repeating control in InfoPath List Form.
To submit data to a SharePoint list from an InfoPath form, you could create a
SharePoint List form template that allows multiple items to be submitted.
For more information, you can refer to:
2 Ways to use a repeating table with a SharePoint list in InfoPath 2010
Best Regards,
Linda Li
Linda Li
TechNet Community Support -
How to execute SQL Query in Code behind Using infopath 2010?
Hi,
I've repeatable on infopath form, and want bind it throuth code behind from SQL table. My question is that how to execute SQL Query in code behind from infopath as well as how would get Query result to bind repeatable control?
Thanks In Advance
Shoeb AhmadHello,
You first need to add new SQL DB connection then you need execute connection from code behind.
See below link to create new connection
http://office.microsoft.com/en-in/infopath-help/add-a-data-connection-to-a-microsoft-sql-server-database-HP010092823.aspx:
http://www.bizsupportonline.net/infopath2010/connect-infopath-2010-sql-server-2008-table.htm
Then use below code to execute this connection:
AdoQueryConnection conn = (AdoQueryConnection)(this.DataConnections["Data connection name"]);
string origCommand = Select * from tablename;
conn.Command = origCommand;
conn.Execute();
Finally bind your table:
http://www.bizsupportonline.net/infopath2007/4-way-programmatically-add-row-repeating-table.htm
http://stevemannspath.blogspot.in/2010/09/infopath-20072010-populate-repeating.html
Hope it could help
Hemendra:Yesterday is just a memory,Tomorrow we may never see
Please remember to mark the replies as answers if they help and unmark them if they provide no help -
Problem of imaq image control events
Hi,
I use CVI 2010 and NI Vision 2010 to develop a motion and machine vision system.
I got a problem of using the imagecontrol, I can not capture the EVENT_KEYUP,EVENT_KEYPRESS and EVENT_LEFT_CLICK, EVENT_LEFT_CLICK_UP in the image control's callback.
I also tried to use the function of InstallWinMsgCallback (g_hMainPnlHdl,WM_KEYUP,KeyupCallback,VAL_MODE_INTERCEPT,NULL,&hKeyupCbHdl) to install the WM_KEYUP event, the message is captured when the mouse pointer is outside of the image control,but when the mouse pointer entering the image control, the WM_KEYUP event is missing. I think the image control has intercepted and blocked these messages.
Anyone can help me? Thank you very much!
AwenIt seems to work for me. I just tested EVENT_LEFT_CLICK and had the event increment a numeric each time it fired. I just configured a callback function called "ImageCallback" in the Image control properties, then created a callback function. I have attached the whole project below.
www.movimed.com - Custom Imaging Solutions
Attachments:
Image Control Callback.zip 553 KB -
Infopath 2010: button action rules deletes automatically upon saving or using rule inspector
Hi,
I have been working on Infopath 2010 for a few months and I have developed a form with some controls, views and buttons. In my form I have 4 buttons 'Save as draft' , 'Submit' 'Reset' and 'Cancel'. I am using all the buttons with action type as 'Rules and
Code'. Except for Reset button, the actions & formatting on three buttons is rules only.
The problem is when I save this form or I run Rule Inspector on form, I see that all the action rules from these buttons disappear. I do not see any error in Rule inspector because the action rules attached to these button disappear before Rule inspector
even starts. same is the case with Save.
To test if its a problem with a rule, I had built another form with the same fields and actions/formatting for this form. But that form seems to work without any problem and none of the rules get deleted. The reason I want to stick to my old form template
is because I am using this form in LIVE and changing a form template will mean changing all GUIDs in the forms that have been on LIVE and in workflow already.
Can somebody help me find a way to solve this problem.
Regards
PHi PoojaGandhi,
Strange problem.
Validation, Calculated default values, actions and programming can display in Rule Inspector, and formatting rules will not display here, so it
is normal that we can't see rules in Rule Inspector if we created some formatting rules.
If you have also action rules in the form, can you see these actions in Manage rules pane or will these rules work even we can't see it? How about
add rules to a new button (in a new view), will it missing?
If the problem persists, the form may corrupt. And please create a new form instead.
Sorry for the inconvenience.
Best regards,
Emir
Emir Liu
TechNet Community Support -
InfoPath 2010 - Person/Group Picker Properties - Relative Path?
Hello,
How, if it is possible, do you specify a relative path in the Person/Group Picker Properties?
This is for InfoPath 2010.
Thanks,
JohnHi John,
Do you mean that specify a SharePoint site to query for people and groups?
If so , you can take steps as below:
Add a Person/Group Picker control in your InfoPath form.
Right click the control and select Person/Group Picker Properties.
Click SharePoint Server tag, you can input the SharePoint site URL for specifying a SharePoint site to query for people and groups.
Best Regards,
Eric
Eric Tao
TechNet Community Support -
Hi all,
Does anyone know how to capture the SP username of who is making submission of the data from an InfoPath 2010 form? I looking to avoid the user need to type extra information like username/ manager name, etc; and then use code behind to be doing validation
before to push that data to an sql server.
Any suggestion , book reference , link is acceptable
thanks in advance
CRISTINA& MICROSOFT ForumHi Cristina,
Please check the following article with using web service UserProfileService.asmx to get the current user profile in InfoPath code behind and use the validating event to do some complex validation, it should help.
http://blogs.msdn.com/b/infopath/archive/2007/03/07/get-the-user-profile-through-moss-web-services.aspx
http://codesupport.wordpress.com/2010/04/05/sharepoints-userprofileservices-getuserprofilebyname-method/
http://www.bizsupportonline.net/infopath2007/infopath-basics-3-ways-validate-data-infopath.htm
http://henry-chong.com/2010/12/infopath-validation-gotcha/
Thanks
Daniel Yang
TechNet Community Support -
Hello Everyone
I have two drop downs. Both are coming from look up fields from two lists. i want to set a default value(first list item) for the first drop down list box and then apply cascading based on the default value for the next drop down list box. I found one article(http://www.bizsupportonline.net/infopath2010/display-first-item-drop-down-list-box-infopath-2010.htm)
where in i can set a default value but i can't apply cascading based on that default value. Any suggestions would be highly appreciated.
Thanks
Ramanjulu Naidu NHey Ramanjulu,
Take a look at the below article which I believe will answer your question.
http://basquang.wordpress.com/2010/03/29/cascading-drop-down-list-in-sharepoint-2010-using-infopath-2010/
Daniel Christian (MCTS) -
InfoPath 2010 form parsing error with 3600 execution timeout value in SharePoint 2010
Hi,
I have a list in SharePoint 2010 with 100 columns where 25 of them are calculated columns. This list is designed by InfoPath 2010 with two secondary data connections to pull a few data from another two lists. There are 25 set value rules with the submit
button in InfoPath from. At present, the list is containing around 1000 items.
The problem is, when I published the InfoPath form it throws an error:
The SOAP message cannot be parsed.
In fact, the execution timeout is set to 3600 in config file. When I delete items from the list and keep it around 700 the InfoPath form publish then.
Could somebody tell me why this problem and what is the possible solution.
Thanks in advance.Hi pointtoshare,
According to your description, my understanding is that you got an error when you published InfoPath form.
Please modify the web.config file like :
<location path="_layouts/UploadEx.aspx">
<system.web>
<httpRuntime maxRequestLength="51200" executionTimeout="300" />
</system.web>
</location>
And modify the <securityPolicy> section like :
The web.config file is in C:\inetpub\wwwroot\wss\VirtualDirectories\spwebappname.
There is another reason for this issue, please take a look at :
http://www.heyweb.net/2011/07/infopath-the-soap-message-cannot-be-parsed/
Here are some similar posts for you to take a look at:
http://social.technet.microsoft.com/Forums/en-US/ea8da113-fe9a-4878-9994-c1f24cc85c37/soap-error-when-publishing-infopath-form-to-sharepoint?forum=sharepointcustomizationprevious
http://sharepointshah.blogspot.in/2012/11/soap-message-cannot-be-parsed-error.html
I hope this helps.
Thanks,
Wendy
Wendy Li
TechNet Community Support -
How to use an Event Structure responding to an image control that belongs to a parent VI.
Hi
I am loading a subpanel vi by pressing a button located in the user interface of the main vi which also contains an image display. Subpanel vi opens up on the side and doesn't hide the image display of the main vi. Subpanel vi contains an event structure that needs to respond to user clicking on the image display of main vi.
Since the bug that occured while creating an image reference control isn't fixed, I am passing the main vi pane reference onto the subpanel vi. From that point I've tried to edit event structure and have it respond to the image control/pane that belongs to main vi but I don't know how.
Any help would be appreciated.
ThanksPost a screenshot of your subVI code where you register the events.
André
Regards,
André
Using whatever version of LV the customer requires. (LV5.1-LV2012) (www.carya.nl)
Maybe you are looking for
-
I have bought a 21.5" iMAC. Does anyone know if I need to go out
Can anyone help me download pictures from a sd card to the iMAC then to File then to a Blank Disc? Thankyou
-
I have the error message box saved as a PDF, but can't post it here. Anyways, if anyone has any idea how to stop this from happening, I would greatly appreciate. [email protected] Thank you!
-
hello I would like to change my type of subscription (adobe reader) to improve to get a higher level. Should I cancel the first one and then take another one ? thks cecile
-
Docs for j_security_check?
Hi- I'm in the design phase of an EJB app on WLS. I'm planning on writing a realm based on the RDBMSRealm example to handle user auth and access. I've seen several mentions of j_security_check in this group but I can't find any docs on it. Can somebo
-
As I understand the AU group is made up by any user that logs in. However, it does not work when I specify access to a TAB page so is only visible for AU. In this case the TAB is also available for the PUBLIC user. I am working with Portal 3.0 EA on