• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 380
  • Last Modified:

Add current web as source for CQWP

Hello,

In an ONET.XML file I build a page with a CQWP.  The CQWP has a WebUrl property is there a way to set this to alway be the the current web?

<AllUsersWebPart WebPartZoneID="g_LeftCell" WebPartOrder="1" >
          <![CDATA[
          <webParts>
...

<property name="WebUrl" type="string">/CURRENT WEB</property>

Open in new window

0
eshurak
Asked:
eshurak
1 Solution
 
MsShadowCommented:
use ~site
0

Featured Post

[Webinar] Database Backup and Recovery

Does your company store data on premises, off site, in the cloud, or a combination of these? If you answered “yes”, you need a data backup recovery plan that fits each and every platform. Watch now as as Percona teaches us how to build agile data backup recovery plan.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now