Tagged Questions
0
votes
1answer
46 views
Need to remove html tags from <td></td> area in SharePoint custom DispForm.aspx
I had created a custom DispForm.aspx for a SharePoint list, using SharePoint designer. I included a Rich Text column type to show in DispForm.aspx. The contents of the column are showing, but somehow ...
0
votes
1answer
65 views
Fill the fields in new form for an item
I've came across a requirement where I need to fill some of the fields in newform.
So basically we start from view item, where we can see an existing item in a list, then we click something like move ...
3
votes
2answers
751 views
CustomAction: UrlAction to open link in a new window
I have added a menu item to the Personal Actions menu by creating a CustomAction like so:
<CustomAction
Id="myCustomAction"
GroupId="PersonalActions"
...
4
votes
1answer
114 views
Getting ctx for a specific webpart
My goal is to replace a text in a specific column by an icon using only javascript.
function ReplaceTxtbyIcn(targetWP, targetColumn, pat, urlname)
{
var table = document.getElementById(targetWP);
...
1
vote
2answers
148 views
Can sp.js be used in 2007?
I'm trying to use the code found at http://msdn.microsoft.com/en-us/library/hh185010(v=office.14).aspx under the section 'Adding a Web Part To A Page With Javascript'. However I cannot get a reference ...
2
votes
1answer
136 views
Get single field item value from Custom List and set it on same item but another field
I'm new in Sharepoint, and I have an issue with a custom list in Sharepoint 2007.
The thing is... I have a custom list with pre-loaded data, and I need to get a unique code from a field item, to put ...
0
votes
1answer
127 views
Sharepoint 2007 Windows Gadget [closed]
I am trying to develop a Gadget for Sharepoint 2007, which will authenticate a user and then fetch him a sharepoint list from a specific URL,
For the last 4 days I have been working on it and came ...
2
votes
1answer
1k views
Getting Version History and What Field has Changed
I am using the GetVersionCollection to get the history information from my list. This seems to be working fine; however, what I need to do is get the version history of the individual item which has ...
1
vote
2answers
1k views
Displaying the item version history programmatically using Javascript
I have a SharePoint 2007 list that have version history enabled.
I am interested to know how do I view the version history of a item using Javascript (or JQuery).
2
votes
1answer
830 views
Getting date and time from SharePoint Server 2007 and throw it to Javascript variable
How to I get the date and time from SharePoint Server 2007 and pass this value as a Javascript variable?
2
votes
3answers
96 views
Best Practice: Javascript Registration SP2007
There is always the ASP.net way of registering javascript on the page using the Page.ClientScript.RegisterClientScript() method, but I was wondering if there was a better way to register your ...
1
vote
1answer
392 views
Select item from popup window and return the url to the parent window
I'm having a tricky problem which I can't solve with the AssetUrlSelector since it won't pass parameters. This code works except for the parameter:
<xsl:variable name="CurrentProductCode" ...
1
vote
1answer
357 views
Add Image to WebControl.RichImageField client-side Sharepoint 2007
Situation:
I've got a pagelayout with 3 LanguagePanels with in everyone a RichImageField. Above these languagepanels, i've got a "General info" panel with a textbox for an url. In edit mode, if I want ...
1
vote
3answers
3k views
Auto populating columns within a list?
First time user & poster here. A friend recommended me to this site for a question I have in relation to populating columns within a list. Hopefully I can explain it properly and someone could ...
2
votes
3answers
3k views
Automatically fill in metadata on new document created from template
I have a custom button on my application page to open a new document from a document template, like you would do directly on a list. The code is similar to:
<a href="http://Site/test/documents" ...
2
votes
1answer
733 views
sharepoint webpart javascript - 'null' is null or not an object
I have an issue on one of my sharepoint enviriontments regarding some kind of javascript problem with the Content Editor Web Part which keeps returning me these errors when I try to user the RTF-text ...
1
vote
1answer
502 views
How do I use a javascript variable in the Filter Criteria for a DVWP?
I am converting some numbers using Javascript and need to filter a list using these conversions. I cannot do the conversions within SharePoint itself, so I had to use Designer and some Javascript. I ...
1
vote
1answer
382 views
Highlight Group By Row in SharePoint List
I've got a dashboard on my SharePoint Homepage that shows a RAG status of all our project tollgates, grouped by (a) category then (b) project.
Is there a way to highlight a group by row in a list ...
1
vote
1answer
304 views
SharePoint 2007 Search Webservice client call - darrenjohn's API
I want to get the same result set as sharepoint search returns using webservice/object model, what is right way of doing it?
Let's say:
If sharepoint search core result webpart says 20 items/result ...
0
votes
1answer
355 views
How can you add a script reference to a page from a custom webpart?
I'm developing a custom webpart and I'd like to leverage jQuery for some of my client side functionality. I found a few articles that lay out the following technique for adding a script reference to ...
1
vote
3answers
1k views
Customizing the NewForm.aspx of the SharePoint 2007 List?
I have a sharepoint 2007 list and it has 6 site columns, want to have two modes of newform.aspx page. When user clicks on Newitem, it should display only 3 site columns and there should a link to the ...
1
vote
2answers
1k views
Get ContentTypeId In NewForm.aspx URL QueryString
I've been trying to access the ContentTypeId in the NewForm.aspx querystring. Knowing that will allow me to set up conditional statements to display information specific to a Content Type. My ...
0
votes
1answer
854 views
WebResource.axd and IE - Page_ClientValidate object undefined
I have a custom MOSS 2007 Website, and I have a strange behavior on editing WebPart Properties via browser.
When I open the website via Firefox, and edit the webpart property and then click on ...
0
votes
3answers
2k views
Show number of items in Folder in ListView
I'm looking for a solution that displays the number of items that are stored in a folder of a list.
Maybe this can be done with javascript/jquery, but I actually don't want to reinvent the wheel.
If ...
1
vote
2answers
551 views
Get web part properties from javascript
Is there a way to get web part property value using javascript in SharePoint 2007? Using web services and such is fine.
EDIT: I need this for my custom web part.
0
votes
3answers
564 views
Web Services: how to get/save Web Part on a page
The WebPartPages Web service includes actions to get or save Web Part properties (GetWebPart, SaveWebPart). Both require a unique identifier called storageKey.
When using Web services on the client ...
1
vote
2answers
1k views
Preventing Duplicate Items in list (sharepoint 2007)
Is it possible to restrict, creation of duplicate list item in the Sharepoint 2007,
using Javascript in content editor webpart to validate when an list item is added?
0
votes
1answer
901 views
WebResource.axd JavaScript errors
I'm getting JavaScript errors on a SharePoint publishing site, just browsing to any page.
In IE the errors are like:
Syntax error: WebResource.axd
Line: 1
Char: 1
Code: 0
URI: ...
0
votes
1answer
464 views
IE Never finishes loading SharePoint page when JavaScript is disabled
I am working on a solution that loads SharePoint pages in a copy of IE. When the page finishes loading an event is triggered that executes some code in the application that wraps IE.
Now this all ...
0
votes
4answers
333 views
Detect when a user leaves a MOSS 2007 website (not just navigate to other page in the same SharePoint website)
I need to show a popup message (couple of div tags) when a user tries to do the following:
Leaves the current SharePoint site and navigates to an external URL.
Closes the browser.
I tried using ...
0
votes
3answers
921 views
JavaScript and some CSS not working in sites
I have a master page assigned to sites, subsites and pages. I have a warning (alert box) embedded within the master page.
It's working on the home page, but not working on the other ...
0
votes
3answers
829 views
Can you detect permissions on a list via Ajax or SharePoint web services?
The context for this is the SPServices or Imtech (SP)LookupAddNew function that let you add new items to lookups without navigating to the target list.
Can we avoid adding the link for users without ...
1
vote
2answers
458 views
SharePoint Approval Workflow Javascript error
I've been trying to create a simple Approval Workflow in SharePoint (MOSS 2007).
After going through the first screen where I type in the name, Task List, History List, startup params, etc. I go on ...


