Edit sharepoint page items e.g. required text boxes - sharepoint

I am new to sharepoint and will need you to explain how to with steps.
I have a sharepoint server running and I'm trying to edit the way the page works. I want to make text boxes not required so I can save without having to fill the text boxes. But I can't figure out how to edit the code for these in sharepoint to make that change.
I tried going to that page and looking for an edit button somewhere but there's no edit page or edit html anywhere.

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".

Percentage calculation from infopath to sharepoint

I am a newbie in sharepoint/infopath.
I am trying to edit an existing field in sharepoint which seems to be loaded from infopath.
The flow of the program is as follows:
I open a form (which is integrated using infopath) from sharepoint. The form has some multiple choice questions and at the end there is a submit button. After clicking "submit", I am transferred to a list view which displays the "number of correct answers" and "your percentage" columns (I can have multiple attempts and they are displayed in the list).
I am trying to edit the calculations of the percentage. When I open the infopath form, I can see that there is a field called "Your percentage". I displayed the setting and there is no formula.
Where can I edit that field?
Thanks!
Use the button Rule Inspector to check all the rules cotained on the form, the button is located on the data ribbon:
There you can see all the rules, just look up for the one that calculates the percentage.
Hope this helps.

"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.

How to create an "Add Attachement" column in sharepoint 2010?

Googled and looked here for a while with no answer found so far.
I am currently trying to have a column work similar to the edit button. With the edit button you click the icon and you are redirected to the edit page. I want something the users can click to go straight to the add attachment section. It does not need to be a button, even though it would look nice. We also have designer so that is an option as well.
Any suggestions or link on how I can try to make this work? Any help is appreciated.
Could you not Create another ECB item just like the edit button with the name add attachment
Pass the ID of the item via query string.
Pick this up in c# and work your magic to add an attachment?
This is how to create an ECB menu item
http://www.learningsharepoint.com/2012/05/22/add-custom-editcontrolblock-ecb-menu-item-to-open-a-custom-page-in-sharepoint/
Hope this helps
Cheers
Truez

Resources