sharepoint 2010 dataformwebpart drop down list filter - sharepoint

I have two connected DataFormWebparts on a site page, with one web part filtering the data in the other, and this works fine as long as the design style allows the options to be clicked on i.e. the information is laid out in text format.
However If I change the style to be a drop down list then the filtering no longer works. I'm assuming this is because there is no longer a hyperlink to trigger off the event, but is there a way to make it work in this format?

jquery to the rescue. hide the links. show the dropdown and with jquery or javascript, trigger the link click on dropdown index change. try to google out. hope these hints help
faced same issue. i did this as i had less time

Related

Clicking checkbox on an intranet web page not working in VBA using Internet Explorer 11

I am stuck at a specific point in coding VBA. Using VBA I am logging onto an Intranet portal which is a file management system and opening a series of dynamic web pages one after the other. Using VBA I am trying to get a checkbox element checked. Once this element is checked, all sub-elements appearing in a table below get checked automatically. After this I need to initiate download of all the selected files. However, I cannot get the checkbox element "checked".
Here is the HTML as it appears on the web-page. I cannot share the link as it is intranet and confidential.
Link to the HTML as I am not allowed to post images yet
Here is my VBA code:
Set inpute = objIE.Document.queryselector("div[id=gridx_Grid_2] div div div table tbody tr td span[aria-checked=false]")
inpute.setAttribute("aria-checked") = True
inpute.Click
When the above code is run, the "aria-selected" attribute changes to "true" in the HTML but Click has no effect on the checkbox.
I have tried using the getElementbyClassName method and using Click after that to no avail.
Please help me out on this issue. Do let me know in case you need any other information.
This solution from Zwenn worked perfectly:
First of all, a checkbox has no click event. On topic: Because the whole List of other checkboxes will be marked by marking the one in question, I'am pretty sure the one in question triggers a HTML event like change when you mark it manually. You must check which event it is and trigger it with VBA. You can look for the event with FireFox or Chrome, but not with the IE. Look here how to do that and how to handle with events:
Automate IE via Excel to fill in a dropdown and continue
– Zwenn 14 hours ago

How to fix drop-down responses document in lotus notes

Basically, I'm using version tracking to list down all edited document. When I see on notes, it's not created as a drop down and it just shows all record.
For example like this website. Provide by #umeli. But I can't seem to get it inside my lotus notes.
Like below this. I have this view inside my lotus notes. It just shows everything.
This is list inside my browser. It has like drop-down when I click, it will show all.
Like this. When I click, it will show all the history of the edited document.
Any advice that I can create a drop-down like in-browser inside my notes? Any help will be appreciated. Thanks!
Use Domino Designer to edit the No column. You need to select the "Show twistie ..." setting as described here.
Also, you may want to automatically collapse the view entries when the user opens the database. To do that, edit the view properties and select "Collapse all when database is first opened".

Seadragon(seajax) open specific filterbox after search

In my website i use the seajax pivot viewer to view a large amount of images. So to not search endlessly long for the picture i need i usually use the search box in the view to filter on a specific property of my collection. Now when i press enter it works perfectly and it filters my collection. I could however be possible that multiple properties have the same value so to further filter my search i use the filters beneath the search box. This also works fine.
Now for my question: Is it possible to open such a filterbox after i press enter, so that the specific values for a certain property are shown?
I already took a look at it and i belief that i need to do it in the pivot viewer js, however i cannot find the right way to do it. I could not find anything on stackoverflow about it.
Thank you in advance.

How to add conditional formatting to SharePoint list in SharePoint Designer 2010?

I am adding conditional formatting to some columns of a list to change the color of some dates. I'm stuck because I am displaying the lists in preview panes on the page and the conditional formatting is not applying in this view. I am only able to have my formatting work when the list is being shown on the page in a view where the data is static. Hope that makes some sense. Any help is greatly appreciated!
The "Preview Pane" list view style cannot be formatted using SharePoint Designer's conditional formatting option. It's much too different from a typical, tabular list view.
An alternative would be to add JavaScript to the page that would run regularly and apply styles to elements based on their content.
Another (development-heavy) alternative would be to build your own list view using the JavaScript client object model (or XLST if you're feeling masochistic), giving you full control over how the results are displayed.

"Hidden" columns in Sharepoint 2007

I'm trying to make a custom list for inquiries, where users will fill in some information such as "Name", "Reason" etc. When they've finished filling in the information and added the item, the administrator will then go through the item, and fill in some new columns that the user hasn't been able to fill in.
I hope you understand me, otherwise you're more than welcome to ask questions!
With SharePoint designer 2007, you can use the SPSecurityTrimmedControl who enable you to show/hide form field (or site action...).
Syntax :
<SharePoint:SPSecurityTrimmedControl PermissionsString="ManageLists" runat="server">
WHAT_YOU_WANT_TO_HIDE_HERE
</SharePoint:SPSecurityTrimmedControl>
For the PermissionsString, all values HERE
You'll need to use SharePoint Designer. You will create custom new and edit forms. This way when the user fills in the new form, only certain fields will appear. Then when the administrator edits the item using the edit form, they will have access to more fields.
Please see this link for more information.
Try making a copy of the form you wish to edit by copying and pasting to the same folder. Then click on the web part for the form and the code above will highlight . Look for tags IsVisible and change it from "true" to "false". This will hide the default form. Do not delete the original form.
Click on the web part in the design view then press your right arrow. This will move the cursor to right after the web part but still within the web part zone. Go to the Insert menu, select SharePoint Controls then Custom List form. A small dialog window will appear, select the list name from the first drop down, then select the content type from the second drop down. Finally select which form you want to insert, New, Edit or Display. Click OK. The new form will be displayed under the default form, and you will then see all of the fields in order and you can add or remove as you like.
If one did not want to edit the pages, couldn't one use Jquery to hide the fields? I have done this with SPservices. to check the user credentials if you will and then if matched display the hidden fields... all this is done from a web part...just a thought...I actually learned something great today.. great replies.

Resources