Posts

Showing posts with the label content

Sharepoint 2010 - About Uselessness of Content Query Web Part?

Image
.. Why Content Query Web Part...?? I did not found any reason to use Content Query Web Part.. Or maybe, I am no really skilled to find a way to use it with a real reduction of configuring costs. In the same time I build custom XLS for CCQWP, I can develop a Custom web part with Visual Studio... No, I think I develop custom wp in less time... Sure, with minor performance, but it works anywhere and it has simple governance, for me... And you? You found way to use "simple" CQPW? Maybe, only a demoralization time..

Resizing Cross-Domain IFrame with Javascript

I tried to find a way to pass height of page loaded in an IFRAME to parent document in order to reset the height of the IFRAME with javascript. It's a simple coding, but .. if you use IFRAME with a page in a different domain, you cannot access to properties of page opened in IFRAME and from page to opener. The idea is to be able to pass the value of the height of the content at regular intervals, using a javascript function, and try to read it by the parent. This applies to the height value, but works for any data, of small size, to be passed client side from content of the iframe to container in a cross domain situation. Obviously, if we can access page open iframe in edit. NOTE: Both domains must be added to Trusted Sites. Let's see how. I put the following function in the page that I want to load iframe: setInterval (function () {this.frames.status = getHeight();}, 400); getHeight function () {      var height;     [we calculate body heig...

Sharepoint 2010 - Full Crawl fails on Web Application with Access Denied Error

I started a Full Crawl of Content DataSource and I get this error message: " Access is denied. Verify that either the Default Content Access Account has access to this repository, or add a crawl rule to crawl this repository. If the repository being crawled is a SharePoint repository, verify that the account you are using has "Full Read" permissions on the SharePoint Web Application being crawled " even if I use an account with Full Read permission on that Web Application. I go on Search Server machine for Sharepoint farm, with credential used for Default Content Access Account , and I try to navigate to site collection in that Web Application:  I get error "Access Denied", browser asks me for credential and then "Error 401".. So, the problem was that account used for Default Content Access cannot browse to site collections in Web Application, from the server search. I correct with this post, from Microsoft: " You receive error...