Using http://www.openntf.org/internal/home.nsf/project.xsp?action=openDocument&name=Business%20Card I can implement this no problem when it is rendered in a static context, for example, hard coded with display name and username.
The problem:
When using this custom control within a repeat control where the repeat is populated from an xml feed. Using XPath we can get the email and display name.
The xpage will render the list with the url based on the display name. However it takes a page refresh for the javascript to rebuild the link to actually do the tiptext and the popup.
Has anybody implemented this in a dynamic context eg a search bar for people in connections?
Thanks
This project is very old. Take a look at the business card control (Java/lib control) in XPagesSBT.nsf in the extlib project (exlibx package).
Related
I would like to create a small Xpages application that can show the calendar of our conference room. My idea is to have a web browser open on the Conference Room TVs so when somebody wants to get in the conference room they will see really quick that there is a meeting scheduled in 10 min.
I have tried using this template from OpenNTF - Link but I couldn't figure out how to pull the data from my Conference room resource into the calendar.
Any other idea how I can accomplish this?
Note: Having the user check the conference room schedule on LN is not an option. They already don't like LN.
Thanks,
Extension Library has a calendar control. It's basically the (8.5) iNotes calendar control, so data is loaded via a REST service. There are two methods of getting the data into a REST service, depending on whether or not the view you're picking up has columns with the programmatic names that are found in a Notes Mail calendar. The documentation in the XPages Extension Library book should cover the basics but, if you need clarification on any of the content, I wrote it.
Modifying the look and feel is not likely to be easy, because it's an XPage version of an IBM-specific Dojo-based control, which is possibly also why no version has been released to use the R9 look and feel.
Alternatively, it would be feasible to build a repeat control layout. Creating a ViewEntryCollection based on a DateRange is key to getting all entries between dates.
I have a document library in SharePoint 2010 that several different teams are using for the same purpose. Each team has their own page that has a filtered view of the document library on it. The document library also has custom columns.
The issue I am running into is when a team member uploads a document from their page. They click "Add document" from their page, and then they browse to the document they want to upload. This part works perfectly - and the URL specifies the source as the team's page. However, after a user selects the document and clicks "OK", it takes them to the EditForm.aspx page that allows the user to fill in the meta data for the document. This is fine, but now the source URL specifies a view from inside of the document library, and no longer points to the team's page (where they came from).
Does anyone know how I can change this source URL to point to the team's page instead of the document library? Or, does anyone know a workaround for this issue so that a user can upload a document from a page (with document library web part on it) so that it returns to the page?
Thanks!!
SharePoint 2010 should work the way you want out-of-the-box. I tried to reproduce your situation, but was unable to. What I did was set up a library with one custom column and two custom views. I then created two pages, one with a list form web part using one view and one with a list form web part with the other view.
When I click on the Add Document from either page, a modal dialog window opens to the Upload page. I first select the file (Upload.aspx) and then am redirected to the metadata properties (EditForm.aspx). After filling out the metadata, the dialog window closes, and the page behind it (the page we were originally on) refreshes to show the new document in the web part. So the user experience is that they stay on the page they want while adding the document as desired.
If you edit your question or provide comments with more details on your situation we can try to reproduce it, but the functionality you describe is exactly how it is supposed to work out-of-the-box.
Peter's correct - SharePoint's being SharePoint.
If I am reading this right, it may be that you should simply check out in-line editing. Using a view, you and edit the properties dynamically without leaving the page (each team getting their own view).
Alternately, I see many who simply want to redirect users back to the page they came from either edit or view of an item regardless of where that was (a link, etc.). Simplest way to do that is a little programming by adding a button to the forms replacing the OK/Cancel with your own code. Simply edit the forms using InfoPath to add the new buttons - you have the user context if you need to custom redirect to a team home page or some such.
I need to use a custom control which is a simple navigation bar from another database
navigation bar is made with twitter bootstrap css framework,
why do I need to use a custom control from another database?
because this navigation bar is going to be common to four notes Databases,
how can I implement this more efficiently?, a control that is common to four databases
Domino includes template inheritance features that allow either an entire application or a specific design element (like a Custom Control) to be updated whenever the template design changes. You could link the shared Custom Control in each of your four applications to a common template so that, if you need to make changes to it, you only have to change it in one place. You can not reference a Custom Control that only exists in another application; you'd have to store it in each and link the design to keep it synchronized.
Alternatively, you can use the Extensibility API to convert it to a library component. Controls of this kind can be used in any application running on a server that has the library installed. A video tutorial for this process can be found here.
I've an XPages Web app and want to mobilize it. However, I'm encountering difficulty in finding a suitable control to let users for selecting a name from Domino Directory.
In my Web app, I use the built-in typeahead and xe:namePicker for that purpose. However, these two items would not work nicely on a mobile page. Are there any alternative solutions?
The standard typeahead will work if you include the dojo tundra.css in your mobile app, this will be modified to be included in the future.
The name picker doesn't work as the type of control used doesn't support mobile devices well, currenty there is no in built solution, An idea that comes to mind is click a button and open a page to a dataview / repeat control that has all the names in it and a textbox to filter the list.
I am stuck with a problem. I am having tool part where I get all the Lists present in the Site.
I have other web part which should get the selected List in the tool part.
I see that the web part is loaded first then the tool part. so the web part is unable to the List selected in the tool part.
Please note that the text box is in a User Control.
Please help me.
I have looked at your code and found the following:
First things first. You need to move AWAY from using ToolParts and the SharePoint native webpart. they are deprecated and are a remnant from SPS2003. In MOSS / WSS 3.0 you can and should use the ASP.NET WebPart.
Secondly, I think you are mixing things up. The ToolPartGetLists is not a toolpart, it is a webpart, that in itself loads the CustomToolPart, which in turn allows you to select a list.
This toolpart is only shown when you edit the shared webpart in the UI. The list you select is then persisted to the SelectedList property of the webpart using the toolpart.
The connected webpart then tries to read the SelectedList property I guess.
Like I said, I could go and try to fix the code for you, but it is not the way to go, you really (REALLY) need to switch to ASP.NET WebPart based webparts. The native sharepoint one WILL be fased out in the (near) future.
Here you can find an example, with code! (scroll to bottom for download link). As a bonus, it uses the built in sharepoint listpicker
I don't know of any way you could control the load order of elements (web parts) on the same page.
Sounds more like you want to have your second web part (the display of the lists) have a "default" when the page loads--which could be empty. Then it would be changed to the selected list only when the user clicked a new selection in the other web part (the list of lists).