Open references of other list items from a list item in the same window or tab
Hi there,
We have migrated from lotus notes to sharepoint. We have converted the lotus notes forms to sharepoint forms. Basically the list items are pages and there are links of other pages in a page.
My problem is I want to open the other pages in the same tab or window and not in a separate window.(currently the links open in a separate window which is not the requirement.)
In terms of sharepoint I would say,
I have references(links) to other list items of the list in a single list item. I want to open the other list items in the same window (tab).
How can we achieve this?? If possible without much codes??
Please suggest.
Any help will be highly appreciated.
Thanks in advance
See:
*http://kb.mozillazine.org/browser.link.open_newwindow
*1: current tab; 2:new window; 3:new tab;
For links opened via JavaScript you can look at this pref:
*http://kb.mozillazine.org/browser.link.open_newwindow.restriction
You can open the <b>about:config</b> page via the location/address bar.
You can accept the warning and click "I'll be careful" to continue.
*http://kb.mozillazine.org/about:config
Similar Messages
-
I was wondering if an individual would be able to sync certain items from one itunes account and and items from a different itunes account to the same ipad?
You move the song files to /Users/Shared/ and then into iTunes from the other Mac OS X user account.
If you want to change the iTunes Store account associated with them, you need to redownload them from that account.
(60812) -
Read action from a different view in the same window
Hi all,
I have a view which contains a ViewContainerUIElement and a ButtonRow. A second view with form fields is embedded in the container of the first view. Validation of the form fields in the second view depends on the button pressed in the first view. How can I determine in the second view, the name of the action that is executed in the initial view?
Thanks and regards,
PatrickPatrick - I answer this question in a previous forum [Close a popup of another view being on the Main View;
If you used the wizard in order to create the popup the wizard create a button "OK" that I'm guessing you change to "SAVE", you will need to create an EVENT HANDLER under your method list tab in my example my EVENT HANDLER is "SEARCH_RESULT" once the user click the "OK" button it will call SEARH_RESULT event and it will do your code inside the event.
DATA LO_WINDOW_MANAGER TYPE REF TO IF_WD_WINDOW_MANAGER.
DATA LO_API_COMPONENT TYPE REF TO IF_WD_COMPONENT.
DATA LO_WINDOW TYPE REF TO IF_WD_WINDOW.
data LO_VIEW_C type REF TO if_wd_view_controller.
lo_view_c = WD_this->wd_get_api( ).
LO_API_COMPONENT = WD_COMP_CONTROLLER->WD_GET_API( ).
LO_WINDOW_MANAGER = LO_API_COMPONENT->GET_WINDOW_MANAGER( ).
LO_WINDOW = LO_WINDOW_MANAGER->CREATE_WINDOW(
WINDOW_NAME = 'SEARCH_POPUP_WIN'
* title =
* close_in_any_case = abap_true
MESSAGE_DISPLAY_MODE = IF_WD_WINDOW=>CO_MSG_DISPLAY_MODE_SELECTED
* close_button = abap_true
BUTTON_KIND = IF_WD_WINDOW=>CO_BUTTONS_OK
MESSAGE_TYPE = IF_WD_WINDOW=>CO_MSG_TYPE_NONE
DEFAULT_BUTTON = IF_WD_WINDOW=>CO_BUTTON_OK
lo_window->subscribe_to_button_event( button = IF_WD_WINDOW=>CO_BUTTON_OK
action_name = 'SEARCH_RESULT'
action_view = lo_view_c
is_default_button = ABAP_true ).
* lr_popup->open( ).
LO_WINDOW->OPEN( ).
the subscribe_to_button_event will call the event handler and it will trigger your code inside the event.
Thanks
Jason P-V -
I have some trouble with Safari!
Everytime i google something, I expect safari to open the link i click in the same window and same tab - as it did before - but now it always opens a new tab! I'm getting really tired of that! So please help me! I want safari to open the google search link in the same window and tab! How to fix that?
Please help me!!!
Thank you!From the Safari menu bar, select
Safari ▹ Preferences ▹ Extensions
Turn all extensions OFF and test. If the problem is resolved, turn extensions back ON and then disable them one or a few at a time until you find the culprit. -
Hi,
My objective is to open a URL when i click on a webdynpro iView in the same window.
I created a outbound plug in the InterfaceViewController.
And wrote this piece of code in wdDoBeforeNavigation() in Component controller.
wdThis.wdGetExternalComponentInterfaceViewController().wdFirePlugGoToUrl(Url);
Where "Url" is a string variable contaning the value.
But when i run this piece of sode it gives exception
"Exit-Plug must no be triggered with an URL when running in portal. Use portal navigation instead to navigate to another application!"
So what should i do solve this problem
Regards,
PareshHI,
Procudere to create the LogoffURL
In the Application properties add your URL name.
LogoffURL = http:
www.google.com
1. Define an exit plug in the interface view of your Web Dynpro component:
a. Enter a name and check the checkbox Exit Plug.
b. Enter the name Url for the parameter and select string as the type.
This parameter is case-sensitive and must be entered exactly this way.
2. In your view, define the action Exit and add the event handler onActionExit().
3. In the view layout, define a button and bind its onAction event to the Exit action.
4. In your view, define the use of the interface view controller of your Web Dynpro component under Properties.
5. Insert the following code in this method of the implementation:
String logoffURL = wdComponentAPI.getApplication().getApplicationInfo().findInApplicationProperties("sap.logoffURL").getValue();
wdThis.wdGetTimeCompInterfaceViewController().wdFirePlugExit(logoffURL);
OR Do u need to generate the URL by using the application?
Thanks,
Lohi. -
How to move items from one list to other
hi all,
in jsp page i have twolist boxes. i want to move item from one list to other list on click of add or move button. can u plz suggest me an answer for the above. thank u
Regards sangeetThis link should help. Remove from one list and add to the other using Javascript.
http://www.mredkj.com/tutorials/tutorial006.html -
How to copy List item from one list to another using SPD workflow using HTTP call web service
Hi,
How to copy List item from one list to another using SPD workflow using HTTP call web service.
Both the Lists are in different Web applications.
Regards, Shreyas R SHi Shreyas,
From your post, it seems that you are using SharePoint 2013 workflow platform in SPD.
If that is the case, we can use Call HTTP web service action to get the item data, but we cannot use Call HTTP web service to create a new item in the list in another web application with these data.
As my test, we would get Unauthorized error when using Call HTTP web service action to create a new item in a list in another web application.
So I recommend to achieve this goal programmatically.
More references:
https://msdn.microsoft.com/en-us/library/office/jj164022.aspx
https://msdn.microsoft.com/en-us/library/office/dn292552.aspx?f=255&MSPPError=-2147217396
Thanks,
Victoria
TechNet Community Support
Please remember to mark the replies as answers if they help, and unmark the answers if they provide no help. If you have feedback for TechNet Support, contact
[email protected] -
Javascript help to copy selected items from one list to another list on same site
Hello,
So I have a request that I am not sure how to handle. I have created a page with a list view webpart that displays all the items from one list.
The user is then supposed to select off multiple list items and click on a button (most likely a ribbon button) that will take the selected items and copy them to another list on the same SharePoint site.
I would like to do this with JavaScript, but have only found an example that copies library items to another library.Hi KansaiKel,
According to your description, my understanding is that you want to copy selected list items to another list.
I suggest you can use JavaScript Client Object Model to achieve it.
Here is a code snippet for your reference:
<script type="text/javascript">
var context = SP.ClientContext.get_current();
var siteUrl = 'http://sp2013sps/sites/test';
var clientContext = new SP.ClientContext(siteUrl);
var web = context.get_web();
context.load(web);
var sourceId = SP.ListOperation.Selection.getSelectedList();
var source = web.get_lists().getById(sourceId);
var oList = context.get_web().get_lists().getByTitle('Copy');
context.load(oList);
var selectedItems = SP.ListOperation.Selection.getSelectedItems(context);
alert('debut');
for(var i in selectedItems)
var currentItem = source.getItemById(selectedItems[i].id);
context.load(currentItem);
context.executeQueryAsync(Function.createDelegate(this,test),Function.createDelegate(this,error));
function test(sender, args){
var itemCreateInfo = new SP.ListItemCreationInformation();
var oListItem = oList.addItem(itemCreateInfo);
oListItem.set_item('Title', currentItem.get_item('Title'));
oListItem.update();
oList.update();
alert('done');
function error(sender, args){ alert('error');}""
</script>
Here is a detailed article for your reference:
Complete basic operations using JavaScript library code in SharePoint
Best Regards
Forum Support
Please remember to mark the replies as answers if they help and unmark them if they provide no help. If you have feedback for TechNet Subscriber Support, contact
[email protected]
Zhengyu Guo
TechNet Community Support -
How can I get the checked item from a list that is generated automatically?
I am still pretty new a CF and could really use some help. I am trying to get each item that is checked from a page that generates the list automatically from a query and get the associated textbox text with it. For example:
<!--- Start Get Data Hierarchy List--->
<cfquery datasource="MyDatasource" name="qry_GetData">
SELECT C.taxonomy_id, C.lvl, C.taxonomy_name, C.taxonomy_tree, C.taxonomy_guid, C.taxonomy_standard_name
FROM dbo.taxonomy AS P
JOIN dbo.taxonomy AS C
ON P.taxonomy_id = 21
AND C.hid.IsDescendantOf(P.hid) = 1
AND C.lvl = 3
</cfquery>
<!--- Start Get Data Hierarchy List--->
<cfloop query="qry_GetData">
<input type="checkbox" name="cbox_PE_SelTax#taxonomy_id#" value="#taxonomy_name#"><font size="4" color="3399FF"> #taxonomy_name#</font>
<br />
- Details of experience with #taxonomy_name#:<input name="tbox_PE_SelTax#taxonomy_id#" id="tbox_PE_SelTax#taxonomy_id#" size="50%">
<br />
<br />
</cfloop>Dave,
Thank you for your help so far. I must not be asking the right question. Here is the whole breakdown. I am writing this page to collect the users information, Name, Title, Company, and technologies they are familiar with. I then want that information emailed to me upon submission. The point I am running into a problem (even with your last post) is how to write the action part of it that will email the checked items to me. I cannot figure out if I need to use CFLOOP (if so, how) or what the best method is. I am a very visual lerner and can understand how code works easily, but I have not found any examples for my situation. Again, I really appriciate all of your help thus far.
Thank you! -
I accidentally deleted items from a list in reminders. how can i retrieve them?
i accidentally deleted items from a list in reminders. how can i retreive them from icloud?
From your backup.
-
Problem while storing items from trailing list to database
hi all,
can anyone help me out. i have scenario where i have to store items from trailing list into database. suppose if there are 3 items in the list, 3 rows should be inserted into database with all the remaining fields same like
A ,1 , c
A, 2, c
A , 3, c where 1,2,3 are items from trailing list. Am iterating the loop.
What am doing is before saving am checking for duplicates i.e are there any records with the same combination. If yes am doing nothing else am committing the changes..
As am not doing anything if any duplicte record is present, the changes made to the fields persists and once if any commit happens all the values are getting saved. which is voilating my condition..
ThanksHello,
Direct path load, can only be used with SQL*Loader and Database have the same version.
Care to tell the database version and sql*loader version you are using.
-Sri -
Get Items from limited list by providing username and password - C#
I'm using the code at the following link in order to get items from SharePoint list,
http://msdn.microsoft.com/en-us/library/microsoft.sharepoint.client.list.getitems.aspx
I have a SharePoint list that limited to certain users.
How can I provide by this code (or else) a username and password and log in as a different user who has access to this SharePoint list and get its items?
Thanks!Sorry, previous post didn't see you were using client object model.
Service.Credentials = (create new credentials passing username and password)
ICredentials credentials = new NetworkCredential("Joe",SecurelyStoredPassword,"mydomain");
math.Credentials = credentials
Thanks!
Actually, my full question already posted here:
http: //sharepoint.stackexchange.com/questions/84917/c-why-impersonation-is-expired-while-clientcontext-executequery-is-performe
but I was unable to post it here as a new user (images, links, lenght ...) even the link above I was need to insert spaces after "http:" to be able to post it.
Anyway, I don't know "client object model." am I using it?
You mentioned "Service.Credentials", What do you mean "Service"? -
Downloads - I want to open some PDFs/other file types from the internet but not have to save them. I can't figure out how to view them and close them without having to save them first. When I click on a file, the downloads box opens and depending on the setting, it auto saves the file or asks me where to save the file. What if I don't want to save it anywhere, I just want to view it and close it?
https://support.mozilla.com/en-US/kb/Using+the+Adobe+Reader+plugin+with+Firefox
https://support.mozilla.com/en-US/kb/Opening+PDF+files+within+Firefox -
After my last update I can't start up an other keynote presentation from a link (only when the other presentation is already open) I hope there will be an fix soon.
I thought it was because of Lion but with snow leopard i have the same problem (On another Mac).
Other solutions????To check the local network for some of the common configuration problems, launch Terminal.app and issue the following diagnostic command:
sudo changeip -checkhostname
That'll report some local configuration information and then either no errors detected and no changes required, or it'll point to whatever configuration errors or issues it might detect. That doesn't catch everything, but it catches the common errors.
FWIW, 192.168.0.0/24 and 192.168.1.0/24 are poor choices for the local network, as VPNs are based on IP routing and IP routing gets tangled when the same subnet is used on both ends of the VPN. 192.168.0.0/24 and 192.168.1.0/24 are near ubiquitous in home networks and coffee shops. -
will not open after installation. i have tried to install several times with the same results. installation sends a list to firefox each time. need help. willard lee
Can you attach a screenshot or link to the instructions you are following?
You are on the 3.6 release and Firefox 7.0.1 is out. You can download and install the latest release from http://www.mozilla.org/en-US/firefox/new/ if you would like to update now. The 3.6 version will be maintained for a while longer, but you should update when you can.
Maybe you are looking for
-
Unable to get the errorlogin.jsp to run correctly in a servlet.
I am attempting to read the users input using jsp and run the servlet LoginServlet to cross check the database to see if that are in the database. The problem i am having is that i can get the login working but am unable to get the errorlogin to run
-
Hi Friends.. Pls tell me how to produce Result Analysis Report. By PARI VENDHAN.R
-
How to blurr a face or street sign
Ide like to video my walking around manhattan and need some help blurring some faces or other sections of the film. my videos are usually about an hour long and I remove lots of parts any tips on the quickest way to do this. I watched some videos but
-
Sync Settings in Adobe Illustrator CC
Firstly, may I start by saying that the level of support from Adobe is disgraceful. Forcing users that a spent a small fortune on your software to troubleshoot 'software bugs' themselves and waste hours of their own time. It is quite simply not good
-
I have an HP Envy dv6, Product number: B6C68AV. I had Windows 8 Pro 64-bit running on it just fine. Last month I upgraded to Windows 8.1 Pro 64-bit and my sound doesn't work anymore. If I go through the "Find and fix audio playback problems" winzard