How to use Sharepoint Modal Popup loader in Sharepoint-Hosted Apps
Hi,
I have a requirement to use a modal popup as loader in SharePoint-Hosted Apps. I have used this like following-
SP.UI.ModalDialog.showWaitScreenWithNoClose(
'Please Wait',
'while we retrieve...',
'400',
'600');
But it does not work if we have "SP.Js" and "SP.runtime.js" included in the page. If we remove the mentioned script, then only modal works, but other functionality related to "Sp.Js" does not work.
Please let me know if there is any solution for the problem.
Thanks in Advance.
Hi,
Chk out this link also
http://stackoverflow.com/questions/4015159/using-jquery-to-display-a-modal-please-wait-dialog-box-message
http://bernado-nguyen-hoan.com/2012/04/23/how-to-close-sharepoint-modal-wait-screen-after-postback-when-page-is-in-dialog-mode/
http://sharepoint.stackexchange.com/questions/24391/how-do-i-show-a-loading-div-when-opening-a-modal-dialog-from-a-customaction
http://blog.collabware.com/2012/10/30/tips-tricks-sharepoint-2010-modal-dialogs/
Thanks
Jaison A
http://infomoss.blogspot.in
Similar Messages
-
Hi..
How to create a SharePoint Modal Popup window and when we select some value in modal popup that value should be redirected to parent form..
RavindranathIn the option dialogReturnValueCallback you can define a function that will be executed after the dialog was closed. By now you create a delegate pointing to CloseCallback3 but this is not defined in your code.
If you call SP.UI.ModalDialog.RefreshPage in this callback method the page gets refreshed after the dialog was closed with OK.
function OpenCustomDialog(dialogUrl, dialogWidth, dialogHeight, dialogTitle, dialogAllowMaximize, dialogShowClose) {
var options =
url: dialogUrl,
allowMaximize: dialogAllowMaximize,
showClose: dialogShowClose,
width: dialogWidth,
height: dialogHeight,
title: dialogTitle,
dialogReturnValueCallback: function(dialogResult)
SP.UI.ModalDialog.RefreshPage(dialogResult)
Adnan Amin MCT, SharePoint Architect | If you find this post useful kindly please mark it as an answer :) -
Remove "Page" Link in SharePoint Modal Popup
Hi,.
How to remove "Page" Link in SharePoint Modal Popup as shown below
RavindranathHi Ravindranath,
I could see you are loading a custom webpart inside modal dialog, try adding the below code in your webpart design file(.ascx)
<style type="text/css">
body {
overflow: auto !important;
#s4-leftpanel {
display: none;
.s4-ca {
margin-left: 0px !important;
#s4-ribbonrow {
height: auto !important;
min-height: 0px !important;
#s4-ribboncont {
display: none;
#s4-titlerow {
display: none;
.s4-ba {
width: 100%;
min-height: 0px !important;
#s4-workspace {
float: left;
width: 100%;
overflow: auto !important;
body #MSO_ContentTable {
min-height: 0px !important;
</style>
Please remember to click 'Mark as Answer' on the answer if it helps you
Regards,
subhash reddy -
How to use TCP Checksum Off-load in my network driver
I am seeking infomation on how to use TCP Checksum Off-load to tell the Solaris 8 stack not to handle it for both receives and transmits (and let our NIC handle this compute-intensive task instead).
There is mention that Sun GigabitEthernet Adapter cards, Release 1.1 supports Sol-2.6 use of NIC features: TCP checksum offload & byte swapping
There are limited bits of info in include files. For example
sys/strick.h indicates use of:
inetcksum_t's ick_xmit
stream.h has:
struct datab's unsigned u16:16; /* used to store hw-calculated cksum
#define STRUIO_IP 0x04 /* IP checksum stored in db_struioun */
#define STRUIO_ZC 0x08 /* mblk eligible for zero-copy */
strsub.h has:
struct zero_copy_kstat
Also /include/inet/tcp.h has tcp_sum for outbound.
Thank you. -Weimin TchenVenK7337,
Could you show your python code. so we know what your are "writing" to the ethernet port?
That way we can see what you are receiving.
Parsing the incoming data (from the TCP-read) depends heavily on the device that sends it, and can not generically be described. LabVIEW has many byte (and even bit) manipulation functions to convert many different data formats to its own build in formats.
So after the TCP listener is connected, you are constantly reading from the established connection (until it gets broken of course). More advanced example would be the internet toolkit if oyu have it.
From the read characters (and I hope you designed a protocol with a clear starting character, ending character and maybe even a build in checksum) you parse the data and perform you action, and of course generate a reply. Again the internet toolkit is a good example. It parsed the input as it comes it, based on the HTTP format. Then generates the reply based on the request received.
These days I would suggest not to use binairy encoded numerics. Try and use XML formatted data. Yes, it causes a lot of overhead. But typically this is not an issue and makes the code a lot more portable and maintainable. Also makes it easier to interface with other languages/platforms.
Umless of course you are looking at Khz data rates, then XML is not th preferred choice.
Hope this helps... -
How to Get user profile properties in provider -cloud hosted app in sharepoint online - office 365 using REST API?
any idea?Hi,
From your description, my understanding is that you want to get user profile properties in provider-hosted app in SharePoint online using REST API.
Here is sample code for getting user profile properties:
http://www.vrdmn.com/2013/07/sharepoint-2013-get-userprofile.html
Here is a blog below about accessing data from the provider-host apps:
http://dannyjessee.com/blog/index.php/2014/07/accessing-sharepoint-data-from-provider-hosted-apps-use-the-right-context/
Best Regards,
Vincent Han
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] -
How to make another modal popup window in a modal popup window?
how to make another modal popup window in a modal popup window?
two modal windows must be made by inheritance of JDialog.the jdialog has constructors where you can set another jdialog as owner. (the same as frame)
Visit our german java forum at http://www.java-forum.org/de
An english version will be released soon at http://www.java-forum.org/en -
HT1382 How to use the i-tunes to backup my iphone apps, thanks
How to use the i-tunes to backup my iphone apps, thanks
Plug the iPhone into the computer.
From the Summary tab, select the option to backup to iTunes on the computer.
Sync. -
How to open List when Page loads in SharePoint Hosted App?
I want to create an app same like InstantPracticeManager by InstantQuick.
Now I want to know that in a SharePoint Hosted App How can I show the Whole List in a page.
Here I have added one image:
Here there is one list and there are 4 views of that list.
Now the App will be like when I load the page It will show like the image above. Now how can we show the list like this in sharepoint hosted app?
I want the same scenario which is shown in the following blogs:
http://sp2013.blogspot.in/2012/08/use-list-view-in-sharepoint-2013-apps.html
and
http://www.sharepointnutsandbolts.com/2013/08/working-with-web-parts-within.html
where they add a list to an app
Can any one suggest me the idea? I am bit confused.
thanks in advance.Hi,
According to your post, my understanding is that you want to show the different list view in a page in SharePoint Hosted App.
We can use jQuery and cross-domain library to achieve it.
The following articles for your reference:
Adding a Tabbed View to A Web Part Page Using jQueryUI
http://sympmarc.com/2011/11/09/adding-a-tabbed-view-to-a-web-part-page-using-jqueryui/
How to: Access SharePoint 2013 data from apps using the cross-domain library
http://msdn.microsoft.com/en-us/library/office/fp179927(v=office.15).aspx
SharePoint 2013: Get list items by using the cross-domain library (JSOM)
http://code.msdn.microsoft.com/office/SharePoint-2013-Get-items-d48150ae/view/SourceCode#content
Thanks,
Dennis Guo
TechNet Community 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]
Dennis Guo
TechNet Community Support -
How to use SSIS 2014 to read from Sharepoint List ?
Hi there,
I have designed a simple entry form for users using List in Sharepoint 2013.
I need to use the information to merge into my datawarehouse.
Question :
1. How can I setup SSIS (SQL 2014) to get the source from List in Sharepoint?
I have tried to download the script as suggested in codeplex but it seems not working with SQL 2014 as there is no SSIS toolbar displayed.
Any help is much appreciated
Thank you and Best RegardsHi SylviaO,
The current
SharePoint List Adapter that extracting and loading SharePoint Data in SQL Server Integration Services supports x86/x64 systems using SQL 2005 / SQL 2008 / SQL 2008 R2/ SQL 2012. It doesn’t support SQL 2014. Maybe we need wating the update.
Besides, the
OData Source component can also be used to read from SharePoint lists. So we can download and install the 64 bit ODataSourceForSQLServer2014-amd64.msi or 32 bit ODataSourceForSQLServer2014-x86.msi from the
Microsoft® SQL Server® 2014 Feature Pack.
The following blog about using the SSIS OData Source Connector to read data from SharePoint lists is for your reference:
http://whitepages.unlimitedviz.com/2014/03/using-the-odata-source-connector-with-sharepoint-online-authentication/
If there are any other questions, please feel free to ask.
Thanks,
Katherine Xiong
Katherine Xiong
TechNet Community Support -
How to use Blob storage to office 365 sharepoint online library documents
Hello,
Considering that we cant uploade a file with size more than 250 MB and it is recommended using Remote
Blob Storage (RBS) if large files are supposed to store in SharePoint.
My question is, how to use RBS or Azure Blob storage to store files instead of SQL database.
What is the configuration or code i need to write to accomplished this where i would prefer if it can be done simply using some configuration.
any sample or tutorial would be great help.
Thanks,
AsjadHI,
What we did, we deploy small Azure PaaS application what used Azure Blob Storage and table and then show it in Office365 SharePoint online trough iframe. This gives you flexibility to customimze the PaaS application and show the content at blog storage.
We tested this in SharePoint ONline multitenant and Dedicated plus in On Premise SharePoint with the custom code in separate IIS server published trough UAG to Internet. This allows you to save or replace your file server with Azure and small PaaS apps in
and show the content on SharePoint ONline trough Iframe.
Br Petri -
How to use Digital Signature and PKI in SharePoint Server 2013
Dear Expert,
My company will plan to use Digital Signature and PKI document in SharEPoint Server 2013.
Can you guide me what's the concept and how to implement and develop?
Please suggestion.
BR,Hi BR,
Based on your description, my understanding is that you want to use Digital Signature and PKI in SharePoint Server 2013.
You can use digital signatures in forms ,then use these forms in you SharePoint site.
In InfoPath form ,you can change the form to allow signature here: File>Info>Advanced form options >Digital Signatures .You can choose to sign the whole form or a field .
https://social.technet.microsoft.com/Forums/en-US/0ed54d57-d67d-41cd-bd1b-9e5a4be10d0c/use-of-digital-signature-in-sharepoint-2010?forum=sharepointcustomizationprevious
Or you can use any tools such as the ADSS Connector for SharePoint which allows enterprise users to "click and sign" on a document in SharePoint.
http://www.ascertia.com/
Thanks,
Victoria
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]
Victoria Xia
TechNet Community Support -
Anybody have any example on how to use javafx.stage.Popup
I wants to popup an customerize UI stage to let user to something, and found there have a javafx.stage.Popup class. Any example for how to use it, seems it no titile bar and not OK and cancel button? Search for Forum seems don't find an useful one.
Edited by: 931222 on Oct 22, 2012 8:54 AMfollow up.
-
Help: How to use JWindow as Popup
Hi there,
I am developing a program & I wanted to design it with a screen like the Mac OS (tiger?) desktop. That is menu (button bar) at the bottom of the screen (the program's screen - Not the OS).
I thought I should use a JWindow to do it.
HOW I WOULD LIKE THE POPUP TO BEHAVE:
- Only appears when a user moves the mouse towards the bottom of the screen.
- To disappear (hide) when the user clicks somewhere else on the screen [when focus is lost(?)]
- To change its position relative to the program. That is, if the program is resized etc...
I NEED YOUR HELP ON
The design issues I should take into consideration. I mean interfaces I should implement etc...
Thanks in advance.
Yours,
MeOkay, sorry for the late reply, I dont go on the net much.
With the focus issues, it could be very tricky to know when exactly the Window has lost focus cause a component within the window could still have the focus, hence the window would be in focus.
One way, could be to add a common FocusListener to all the components within the window by using a recursion method, and allow this FocusListener to determine when all the elements within the window have lost focus, so as to call the window hiding function
public void addFocusListener(Component c, FocusListener fl) {
c.addFocusListener(fl);
if(c instanceof Container) {
Container cn = (Container)c;
for(int i = 0; i < cn.getComponents().length; i++) {
addFocusListener(cn.getComponent(i), fl);
// also the focus listener could be like this
class FocusChecker implements FocusListener {
public void focusLost(FocusEvent e) {
Component source = (Component)e.getSource();
if(popupWindow.isAncestorOf(source)) {
if(!popupWindow.isFocussed()) { // check if the window has a focussed component
moveWindowIntoHiding(); // call the method to hide to window
}This is just a general guideline. Think around this to hide the window when it looses focus
ICE -
How to get the current user name in Provider hosted app using appOnlyAccessToken
Hi,
Please help me, how to get the HostWeb UserName in Provider Hosted App
i have Provider hosted App, and Anonymous Authentication is enabled on AppWeb, using appOnlyAccessToken
Below code does not return current user who Log in in hostweb, it is returning
SharePoint App (app@sharepoint)
Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
clientContext.Load(web.CurrentUser);
clientContext.ExecuteQuery();
clientContext.Web.CurrentUser.LoginName;
Below code gives a blank name when Anonymous Authentication is enabled, if Anonymous Authentication is disabled
app prompts for credentials
HttpContext.Current.User.Identity.Name
Thanks
RamHi,
Since you are using a provider Hosted app if you want to get the current logged in name than do not use AppOnlyAccessToken else use AccessToken which is App + user Context AccessToken.
then
Web web = clientContext.Web;
clientContext.Load(web);
clientContext.ExecuteQuery();
clientContext.Load(web.CurrentUser);
clientContext.ExecuteQuery();
clientContext.Web.CurrentUser.LoginName;will return proper user Name.
HttpContext.Current.User.Identity.Name will never return the user as this object is related to IIS server of your App Server not sharepoint.you should set this as Anonymous in case of provider hosted app.you can download the below sample which uses the AccessToken which has user name in it.https://code.msdn.microsoft.com/Working-provider-hosted-8fdf2d95
Whenever you see a reply and if you think is helpful,Vote As Helpful! And whenever you see a reply being an answer to the question of the thread, click Mark As Answer -
How to Use the Wiki Page Ribbon Functionalists in own APP development?
Hello Pros,
I am developing an APP tool for dynamically modifying the contents on the Wiki Page on SharePoint for some format purpose. I hope to use the Ribbon functionalists provided by Wiki Page Editor like configuring the font on that APP. I have an editable div
on the page and hope to use the Ribbon Buttons as used in the Wiki Page to control the contents of this div. Is it possible or I just have to develop those functionalists by myself instead of loading the Ribbon to my APP.
And other problems I have got the solutions like accessing to my APP with parameter or using the REST to control the contents on Wiki Page.
Hope to hear your responses. Thanks.I've not used JBuilder much, but if it has ant support, then it should
be pretty straight-forward.
-- Rob
Rick Ni wrote:
How to use the "split development directory structure" in JBuilder9 ?
Have /APP-INF supported ?
Maybe you are looking for
-
Sorry for my English! I have a problem exporting to .GIF all the animation is in the Movie. Ascorroded Movie .GIF to see the layers. Help me
-
I upgraded my iPod Touch 4th gen to IOS 6.1 and now it won't sync with iTunes?
After upgrading to IOS 6.1, my iPod Touch won't sync. This is really frustrating as I want to add new music etc.
-
Dear All, How I can store the Images/Audio/Video/documents files in blob storage by help of SharePoint document library and keep a reference to them in SharePoint by putting metadata in a SharePoint Library. I searched a lot, but not finding suitable
-
In File Dialog, when click Cancel button, it prompts error and VI exits
Does anyone can give me an idea on how to solve this problem? When the user click on the Cancel button in the File Dialog box, it prompts out error and says "Operation canceled by user". How can I handle this error? I got the same error when I click
-
When "Building" a LabVIEW program containing NI-VISA sub VI's (e.g. to communicate with USB), I have had problems getting the "Built code" to find my NI VISA devices, even though the NI VISA USB Drivers are correctly installed on the "target machine