I have created a Sharepoint hosted app for Office 365. It has a page file "default.aspx". I have added an XSLTListViewWebpart on that page, referring a custom List I created within my APP project. I have a requirement that on a button click event, I need to change the View of the List displayed in the XSLTListViewWebpart. Since there is no server code within the APP, would this be possible in javascript? Or would it be possible to somehow change the query that the webpart uses?
Change View of Sharepoint XSLT List View webpart in javascript
3.6k Views Asked by RAHUL At
1
There are 1 best solutions below
Related Questions in SHAREPOINT-2013
- Limit items on external list using BCS Filter
- share point excel service
- MS Access Run-time error 3999
- SharePoint 2013 Custom list field iterator not saving values for MultiLine or person columns
- SharePoint Links with Ampersands
- Sharepoint 2013 health and usage data
- <body onresize="jsUpdateSize()"> not firing
- CSOM Equivalent of allusers
- Access data from SharePoint-hosted app
- sql server saves only null values for some columns
- Upload properly encoded (base64?) image to SharePoint with AngularJS
- SharePoint 2013 - Programmatically access the file in directory from the path present in database table
- Communication betwen sharepoint apps on different pages
- The data source provider for data sources of type 'ADOMD.NET' is not registered
- Access Form : import picture from SharePoint
Related Questions in OFFICE365-APPS
- return data from a Azure API json
- Why Apps for Office options is disabled in my outlook 2013 instance
- Update media file properties with managed metadata content in sharepoint online via Office Preview API
- Integrate Into Office 365 / Google Docs as part of website solution
- In a Office 365 Mail App how to know item belongs to which folder(Inbox/Draft/Sent Items/Deleted Items)?
- Communication betwen sharepoint apps on different pages
- Will the unified API have delegate auth for administrators?
- Get the Id of Office365 for the file API from SharePoint REST API
- Link to office 365 account
- Is it possible to deploy an Azure AD app to another Office 365 account?
- httprequest and Authentication with ADFS from Universal App
- Connecting App for Office with ASP.NET MVC
- Office.js dialog makes Outlook hang after 5 minutes
- Visual Studio Office 365 SharePoint Apps - codebhind and C# classes SharePoint Hosted
- What are the restrictions on Office 365 (SharePoint Online) in SharePoint 2013 Environment
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
You can try to use Javascript object model to achieve this. Please see this article.