The web part references an untrusted xsl file

i have created a custom ItemXSL in my sharepoint 2013 root site (style library>xsl style sheets)
in th subsite i have exported a content query webpart and changed the itemxsllink property and specified the path starting from my root site eg: /rootsitename/subsitename/style library/xsl style sheets/customitem.xsl and saved changes
i uploaded this new webpart again and when i try to insert this webpart i gets the above error "the webpart references an untrusted xsl file"
i tried specifying the property starting from style library and subsite name as well none of them worked any more changes i have to do or how to specify the path in ItemXSLLink property name
Regards
Mahesh

Hi,
What if you put the .xsl file in the sub site and link to it in your Content Query Web Part?
If it works, then please modify the link as below and do the test again:
~siteCollection/Style%20Library/yourfolderpathhere/customitem.xsl
Feel free to reply if the issue still exists.
Best regards
Patrick Liang
TechNet Community Support

Similar Messages

  • Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types. $(...).slick is not a function (OnPostRender: )

    Hi Team,
    I implemented news carousel using display template concepts.
    Its working.
    But some times it shows like some thing went wrong
    when clicke on show details
    it showing the error like
    Display Error: The display template had an error. You can correct it by fixing the template or by changing the display template used in either the Web Part properties or Result Types.
    $(...).slick is not a function (OnPostRender: )
    some times showing result and while refreshing the page am getting the error like below
    How to fix the issue
    Regards,
    Dhayanand

    Hi Wendy Li,
    Finally we fixed.
    The prob is that we referring two different version of jquery files in master page and page layout.
    We corrected by referring same version of jquery files in both pages
    Regards,
    Dhayanand

  • Webparts deleted from the Web Part Gallery

    We have a situation in SharePoint 2010 where a Site Collection Admin accidentally deleted most of the web part definitions from the Web Part Gallery in one of our Site Collections.  I know I can use the "Populate Gallery" button on the screen
    that is displayed when selecting the "Add new document" to add web part definitions back to the gallery, but this has 2 problems.   1) I don't know which ones to add back, there are over 200 web parts and many of them should not be added.  
    2) The "group" field is left blank and defaults to "Custom".
    Does anyone know if a way to add the correct web part definitions back to the gallery based on the features that are activated and also set the correct category "group" values?
    Thanks in advance for any advice!

    Not an easy way, but if you find the feature definitions on the server of the web part features that were activated you will find copies of the .dwp or .webpart file.  YOu can just grab copies of those and re-upload them to the web part gallery.  The
    other pieces required for the web parts to work should still be in place.
    Paul Stork SharePoint Server MVP
    Principal Architect: Blue Chip Consulting Group
    Blog: http://dontpapanic.com/blog
    Twitter: Follow @pstork
    Please remember to mark your question as "answered" if this solves your problem.

  • Using "View Selector" in the List View Web Part, changes the web part page to the view selected's page.

    Hi,
    I am relatively new to Web Parts pages.  I created a page with list view web part and a Infopath Form Web Part, which are connect via the "Get Form From" option.  My users would like to be able to use views dependent on what
    they are looking for.  So I created different views.  However, when I select the view from within the Web Part, it changes the web part page to the list view page.  I must be doing something wrong.  How do I configure the list view to show
    the selected view and results within the existing "list view web part"?
    Thanks,
    Dwayne

    Hi
    Lindali,
    Sorry, but this has not been answered to my liking.  The "List View Web Part" has the ability for the user to select the view from within the web part, so there you should be able to select a different view and have it appear within the same web part. 
    Does anyone know how to complete this task?
    Thanks,
    Dwayen

  • Unable to add web part in the web part zone

    We have a SharePoint 2010 site collection in which except the home page all other pages are working normally. When we try to click on 'Add a Web Part' button on the home page we won't get the web part gallery and hence we are unable to add any web parts
    on the home page.
    We checked the permissions, it is fine I have web application level full control. 
    Home page is not checkout to any body.  All other site collections have good home pages where we are able to add web parts.
    Please let me know how to fix this issue.
    Thank you,
    smith

    Hi Victoria Xia,
    Below are my answers to your questions
    Check the page in SharePoint Designer to see if there are any customization on the page.
               There are no customizations on the page. It just has Out of the Box web parts which are already      added.
         2. Did this issue occur with other user accounts?
               Yes, issue is there for all the user accounts.
         3. Set another page as home page to see if the issue still occurs.
             I have set another page as home page but didn't see any issue.
         4. Was there any error when editing the home page?
             No, I don't see any errors while editing the home page.
    smith

  • Save as template kill the web part connection

    Hi,
    I have a Sharepoint web site and I would like to save it as a template in order to create several site with the same structure and the same web pages.
    On some of my web part pages I have some webpart connected to each other (mostly BDC List web part and BDC related list web part). When I save the site as a template and create a new site based on this template most of the connection are not present in the
    new site. Does anyone know what is the problem and how to solve it? I really need this to work as the site template will contains tens of pages with those connection and we will have to create tens of site with that template so manually recreating the connection
    is not possible.
    Thank you for your help.

    No web part connections are managed by sharepoint and are stored on the page on which the connected web part are as I know.
    Any way I managed to find a solution. I deleted all the web part connections (Open sharepoint designer and deleted all the SPWebPartConnection tags.) and then I recreated all the connections within the browser.  I don't know why but now it works.
    The mysteries of SharePoint are endless.

  • How to make the web part and web part zone smaller?

    Hello Community
        On WS2012 running SharePoint 2013 Server when you edit a page
    the web part zone is big and when you add the web part the web part 
    is big also.
        So the question is how to you make web parts and web part zone
    smaller?
        Thank you
        Shabeaut

    Hi,
    According to your description, my understanding is that you want to make the web part zone and web part smaller.
    When you edit a page, you could change the height and width of the web part in Edit Web Part -> Appearance by typing in the Height and Width field. The size of the web part zone changes with the web part.
    Best Regards,
    Dean Wang
    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 can I reference a dtd in the Web-Inf directory from an xml file?

    Hi,
    I've placed my test.xml and test.dtd files in the following
    direcory (part of my web application)
    weblogic\config\MyDomain\applications\sample\Web-inf
    When I refer to the dtd from the xml file, as follows,
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE application SYSTEM "test.dtd">
    Weblogic tries to look for the dtd in the weblogic directory(the
    place where I started the server from). How can I get it to read
    the dtd in the Web-inf directory?
    I'm using Weblogic6.0 SP1 on Windows NT 4.0
    Thanks.

    Two options:
    1) Use SYSTEM "http://localhost:7001/sample/test.dtd"
    2) Or use XML registry in WLS6.0
    Cheers - Wei
    "Paromita" <[email protected]> wrote in message
    news:3aaff997$[email protected]..
    >
    Hi,
    I've placed my test.xml and test.dtd files in the following
    direcory (part of my web application)
    weblogic\config\MyDomain\applications\sample\Web-inf
    When I refer to the dtd from the xml file, as follows,
    <?xml version="1.0" encoding="ISO-8859-1" ?>
    <!DOCTYPE application SYSTEM "test.dtd">
    Weblogic tries to look for the dtd in the weblogic directory(the
    place where I started the server from). How can I get it to read
    the dtd in the Web-inf directory?
    I'm using Weblogic6.0 SP1 on Windows NT 4.0
    Thanks.

  • Pass Content Query Web Part ToolPart Value to XSL

    I have extended the Content Query Web Part by adding a textbox control ToolPart.  This is working, i.e.  I am able to see the control, add a value in the textbox and save it.  Is it possible to pass the value of this ToolPart textbox to the
    xsl file?  I found this article: http://blog.sharepointexperience.com/customitemstyle/ that describes how to first see all fields being passed to the webpart by creating a temporary
    itemstyle with this code: 
    <xsl:for-each select="@*">P:<xsl:value-of select="name()" /></xsl:for-each>
    I believe I next need to modify CommonViewFields of the *.webpart file to include the fields I would like to pass to xsl.  
    My question is how do I know the name of the field SharePoint is using to store the value of the textbox toolpart?  The toolpart textbox is generically named (i.e. _textbox), so I do not think I can derive the the field name from the textbox created
    in code.

    try these links:
    http://blogs.msdn.com/b/ecm/archive/2006/10/25/configuring-and-customizing-the-content-query-web-part.aspx
    http://msdn.microsoft.com/en-us/library/office/bb447557(v=office.14).aspx
    http://msdn.microsoft.com/en-us/library/office/bb850574(v=office.12).aspx
    Please mark as answer if you find it useful else vote for it if it is close to answer..happy sharepointing

  • Content Query Web Part and special characters in file names

    Hi All,
    Is there an out-of-box way to display periods in a file name if I am displaying a document library files? I do not want to end up doing a custom item style if possible.
    For example, file name is 8.5x11Letterhead.docx, 8.5x11Resume.pdf etc.  I do not want to display the file names as 85x11Letterhead.docx.
    Thanks

    Hi,
    Would mind providing a screenshot about how your Content Query Web Part rendering in your environment?
    In my environment, it displays the filename which contains periods:
    I would suggest you create a new page and insert a Content Query Web Part to perform the test again.
    Feel free to reply with the test result or if there any progress.
    Thanks
    Patrick Liang
    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]
    Patrick Liang
    TechNet Community Support

  • After adding list view into the web part page, the items and list control ribbon is not activated.

    I created new webpart page and added one list view web part into the page.
    However I can see the ITEMS and LIST tabs on ribbon area, but all the buttons are deactivated.
    Do I have to activate any feature for this or any settings are needed for the webpart?
    I already have full permission for this site.
    For your easy understand I added the screenshot.

    Thanks for you advice.
    However I am currently using the context menu and edit link in the view.
    My Client keep complaining about the ribbon is not activated even thought it works fine in the SharePoint 2010.

  • How to upload the web query result  to CSV/Text file

    Hi,
    Kindly help me on the following.
    1)       I have info-provider (IP), which has info-objects "company code" and "supplier".
    2)       I built a query by putting company-code with a variable in free-charateristics and supplier-code in row.
    3)       When I run this query, it will ask company-code as input and the result will be filtered using company-code.
    4)       For this query, I created a web-template and assigned data-provider to display the data on the web.
    5)       The user wants to enter input company-code='1000' and write the data in a CSV file in a specific directory. i.e, by clicking the execute button (after entering company code) , the result should go to the CSV or text file. i.e. the application should automatically generate the file with query results.
    Note: The user should not use context menu to EXPORT TO CSV OR EXCEL file.
    Please let me know, if there is any tutorial. Thanks a lot advance help.
    Regards
    Kandasamy

    1. SELECT INTO
    Below method will create table when data is inserted from one table to another table. Its useful when you need exactly same datatype as source table.
    Use AdventureWorks2008R2;
    Go
    ---Insert data using SELECT INTO
    SELECT AddressLine1, City
    INTO BothellAddresses
    FROM Person.Address
    where City = 'Bothell';
    GO
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    2. INSERT INTO SELECT
    Below method will need table to be created prior to inserting data. Its really useful when table is already created and you want insert data from
    another table.
    Use AdventureWorks2008R2;
    Go
    ---Create Table
    CREATE TABLE BothellAddresses (AddressLine1 NVARCHAR(60), City NVARCHAR(30))
    ---Insert into above table using SELECT
    INSERT INTO BothellAddresses(AddressLine1, City)
    SELECT AddressLine1, City
    FROM Person.Address
    where City = 'Bothell';
    ---VERIFY DATA
    Select AddressLine1, City
    FROM BothellAddresses
    ---DROP TABLE
    DROP TABLE BothellAddresses
    GO
    Regards,
    Vishal Patel
    Blog: http://vspatel.co.uk
    Site: http://lehrity.com

  • Get the web part properties of documeny lib view web part using power shell

    Hi,
    Am looking to get the propeties of a list view web part - a document library's  list view web  part- using PowerShell
    Manually I am able to do the same: the steps followed by me is given below:
    1) I went to the
    http://srvr1:123/sites/enggtest/mydoclib1/forms/allitems.aspx
    2) Edit the page
    3) Edit the  mydoclib1 view web part
    4) go to the peroperties
    5) Check the Server Render checkbox
    is there   anyway i can do this using power shell.

    The code below assumes that the webpart is at index 0:
    $SiteUrl = "http://aissp2013/sites/TestSite/"
    $pageURL = "http://aissp2013/sites/TestSite/Lists/MyList/AllItems.aspx"
    $web = Get-SPWeb $SiteUrl
    $wpm = $web.GetLimitedWebPartManager($pageURL, [System.Web.UI.WebControls.WebParts.PersonalizationScope]::Shared)
    $wp = $wpm.WebParts[0]
    $wp.ServerRender = $true
    $wpm.SaveChanges($wp)
    Blog | SharePoint Learnings CodePlex Tools |
    Export Version History To Excel |
    Autocomplete Lookup Field

  • In-Depth Chart Web Part References

    I have look at the available chart web part online manuals such as the one below and but it does not provide in-depth answers about the various chart options or how best to use web charts part.
    I would appreciate the title of a publication that really explains the web chart part and how to construct charts. I thought it would allow building charts like in XL but not so. The help below is one-dimensional forcing one to play and play with the part
    to attempt divine how it works. Thanks.
    http://social.technet.microsoft.com/Forums/en-US/65e38032-5a27-47a1-a2e8-81a38c5c6bab/chart-web-part-manual?forum=sharepointgeneralprevious
    http://office.microsoft.com/en-us/sharepoint-server-help/introduction-to-the-chart-web-part-HA101889216.aspx#_Toc268792246

    Basic details of chart webpart
    http://office.microsoft.com/en-in/sharepoint-server-help/introduction-to-the-chart-web-part-HA101889216.aspx
    http://office.microsoft.com/en-in/sharepoint-server-help/create-a-chart-by-using-the-chart-web-part-HA101889211.aspx
    Some advance option in chart webpart
    http://blogs.technet.com/b/ken_prices_sharepoint_blog/archive/2012/02/08/sharepoint-2010-s-chart-web-part.aspx

  • I am having problems downloading files from the web. After a number of files are downloaded, the system become sluggish, and then hangs. I traced the problem to the download history file: downloads.sqlite.

    After downloading a number of 1.0 MB files, the system became very sluggish, and I started to get lots of (Not Responding) messages when trying to download or just use Firefox for browsing. Using Performance Monitor, I observed that the Firefox executable was growing larger and larger - up to as large as 1.2 GB on a system with 2.0 GB memory. Page faults were off the chart.
    Looking for a similar problem, I found one that discussed the downloads.sqlite file becoming corrupted. I first noticed that this file was over 600 MB in size, so I deleted it. I then downloaded additional files, and observed that the new downloads.sqlite file would increase in size by about 150% of the size of each file that was downloaded. Once it would get up to 500 MB in size, the system started slowing down again.
    I don't know the purpose of this file, but it appears that it keeps a full copy of every file downloaded, which may be the function of a download history file, but it does not seem correct that the file should grow in size without limit, and thus impact the system.
    I would also appear that the Firefox executable is trying to read the entire contents of this file each time a new file is downloaded, which does not seem right.
    Temporary fix is to periodically delete the downloads.sqlite file when it gets too large and starts impacting performance.. Apparently it is smart enough to open a new file if the old one is not found. I am not sure what the correct behavior for this file should be. Apparently is does not re-initialize when a new Firefox session is initiated.
    Please feel free to contact me if more information is desired. I'm not sure what details you might need to troubleshoot this type of problem.

    Hi Katy, and a warm welcome to the forums!
    What is the exact name of the file?
    Is it aim.bin?
    Which requires either Stuffit Expander, or the Unarchiver to deflate.
    http://www.apple.com/downloads/macosx/systemdiskutilities/theunarchiver.html

Maybe you are looking for

  • PC suite 6.86.9 is problematic on Virtual Windows ...

    Hi, Unfortunately, the version of 6.86.9 (current one) can't work reliably on Virtual PC 7 (Mac OS X), virtualised windows (Sun solution) on Intel Mac. 6.84.x one, available from CNET Download.com works fine except it crashes the phone if one tries t

  • Headphone device issue

    Ok, So I'm using a Macbook pro with Mac OS X 10.6.8 and I am having problems with my computer detecting my headphones. Whenever I plug my headphones into my computer the sound continues to come through the laptop speakers. I've tried 3 different pair

  • Email server ports

    Hi there-- I have my Mail set up to check my email, POP, on servers 25 and 110 for my home comcast cable network. Anytime that I travel, which is often enough to be annoying, the servers don't work. This is all greek to me, so I don't know if there's

  • LR 6 = Big disappointment in performance and Fuji X support

    Adobe announced, that LR 6 should use the GPU and process much faster. But this [url=Nachgemessen: GPU-Beschleunigung in Lightroom 6 und Lightroom CC | heise Foto]article[/url] and many users say, that it's even slower then LR 5. And (for me) even wo

  • Disable upload for specific users only

    Hi, I'm wondering if anyone else has found a need or solution to my problem. I have a lot of users connecting to a FCS instance, many who should not be able to upload any content, just manipulate or otherwise interact with existing content. I've foun