Moving Thin Template w/ Linked Clones
We've got 6 Gold Thin Provisioned Templates and have filled the datastore they are on. Long story how this happened. The process that is used is a user Clones to Workspace using a Linked clone and then deploys the machine from there.
I need to spread these thin provisioned templates out across other datastores so this doesnt happen in the future but my understanding is that if I use the Consolidate action to move one of these templates this will effect all of the linked clones. Is this correct?
If so is there any other way to move a Thin Template to a new datastore and not break the linked clones?
The only other option is making a copy\clone of the template and moving it but the problem so far with that is this converts the template from Thin to Thick as we are using LM 4.0.2. So if I Cloned the template and it converted to Thick is there a way to get it back to Thin again?
Then I could take those new Thin Templates and spread them out and those could be used as the old ones get undeployed.
Thanks for reading this far and any suggestions.
Option 1: Move an existing Template and all related VMs:
SSMove will relocate (cut/paste) an entire linked clone tree between datastores. However, I would want you to be on Lab Manager 4.0.4 (final version) as there are some minor improvements to the tool.
You also need to undeploy all the related VMs to do this.
Option 2: move the template only via a full consolidate.
This move the template only. The template gets consolidated to the new datastore. Any new VMs provisioned from the template will go to the new datastore where the vmdk resides.
The previous VMs will still exist and function. As they are deleted, space will be freed on the previous drive. If all related VMDKs to the orignial tree are deleted, then the entire tree will be cleaned up.
Similar Messages
-
Hi,
First, I will describe my installation :
1 Management Server : Dell PowerEdge R730 48 cores, 2.5 Ghz with 9 HDD 300 GB SAS 15K (RAID 5) and 256 Gb RAM
2 VDI Hosts server : Dell PowerEdge R730 48 cores, 2.5 Ghz with 9 HDD 300 GB SAS 15K (RAID 5) + 1 SSD 200 GB, 256 Gb RAM, 2 grid K1 cards
1 LUN on an Dell Equallogic PS6110X (750 GB) where I put the masters.
1 switch Dell N4032F (10 Gb)
All server will have 4 ports 10Gb configured with NPAR (so, i have 6 x 10 Gb virtual nic for the storage and 6 virtual nic for the VM network) and 2 ports 1 Gb for the management.
My master : Windows 7 SP1 x86 optimized with 24 Go HDD Thin-Provisionned (2 vCPU, 2 Go RAM, VMXNET 3 network cards). There is none added application on this master.
I can't apply the Microsoft patch for VMXNET 3 because it says that this patch is not applicable.
I don't have VSAN because only 2 VDI hosts, so I configure my pool for each hosts with local storage for the linked clones and local SSD for the replica.
When I run the provisionning of the desktop pool (17 VM):
The clone of the replica (Equallogic ==> local SSD) will take 2'30".... That's good for me (113 MB/s... the Equallogic is also used for another server storage on other LUN)
But the rest of all operation to finish the provisionning will take 40'.
More than 50% of cores will mount to 100% CPU on the host.
I have tried to change my RAID5 (9 hard disk + 1 spare) to RAID10 (10 HDD). It take 50'.
And, when all operations are finished... I have 2 or 3 VM with the message : Agent Unreachable and 1 or 2 hangs on Provisionning.
A recompose a one VM Desktop will take approximatively 1'30.
My question : it's normal that the provisioning will take so much time ?
And other question : when i'm connected to a VM Desktop with Horizon client during a pool provisioning, the VM freeze or i simply can't connect. Even if i have ready desktop. And sometimes, vCenter client will freeze to a lot of seconds during provisioning
Have someone idea ?
PS : Sorry for my approximate English ;-)Today, i have try to put the RAID in RAID 0.
Result : always 50 minutes for provisioning.
So, the problem is not the RAID...
In vRealize Operation Manager, I see that i have latency in disk command and disk operation (up to 7000 ms !!!!).
And in vCenter performance (all type of performance), I have a lot of blank graphics during 5 to 20 seconds in different steps.
I don't know where were looking my problem...
Any idea ? -
Linked clones , sysprep sql server , how does storage works
Hi,
I have created a sysprep install of SQL Server 2008 R2 . deployed linked clones from this templates.
Everything works fine !!!
I just want to know how the installatioon takes place. will the linked clones share the binaries and files from parent ?
will there be any performance degration in future ?
or all the SQL Server program files and installation files actually gets copied over ?
What exactly happens ...
ThanksThe deployed linked clones of your SQL template contain only the difference in data between themselves and the original template. Therefore when they are 1st deployed there is very little data attributable to them. Once you've powered them on, and loaded some data in, the linked-clone's virtual disk files will contain, the difference between themselves and the base template, and will grow in size as they're used and data changes.
So (overly simplifying things) the OS and SQL application will reside in the VM template, and the SQL data imported after clone/deployment will reside in the linked clone. If you update the OS or SQL install (or make any otehr changes that will affect data stored on the VM's disks), these changes will occur in the linked-clone, but will still be dependant on the original template.
So far as performance is concerned, there can be some performance drop when using linked clones as opposed to full fat VM's, in a similar fashion to normal VM's with snapshots. Normally it isn't a problem, even if you have a chain of linked clones of linked clones, but it can be. All depends on how much you need to push your SQL servers, and how much grunt is available from your ESX's and the storage that your VM's are running from. -
VMware View Planner multi-remote PCoIP test with linked clones
So I was able to run the VMware view Planner local mode test no problem, however, I am having some troubles trying to do it with linked clones here. I think part of my problem is that the instructions I am following in the user guide here are a bit unclear. The part that is confusing to me is on page 56 of that document it says to use "View to Provision a Pool of Desktop Linked Clones. Follow the View documentation to provision as many clones of the desktop template virtual machine as you wish to test. These should be created as an automated linked clone pool with floating assignment. You must also use identical values for the pool_id and poolname parameters. "
This is fine, however, right underneath that it says to "Use vCenter to Provision Client Linked Clones" and then goes on to explain the steps needed. So do I need to create a view clone pool and create Client Linked clones in vCenter? That seems unnecessary. However, in the instructions for actually running the test headed "Create a Multi-VM VDI Run Profile," step d says:
In the Desktop / RDSH Name Prefix: field, enter the VM name prefix you provided in “Use View to Provision a Pool of Desktop Linked Clones” on page 56.
and step j says:
In the Client Name Prefix: field, enter the VM name prefix you provided in “Use vCenter to Provision Client Linked Clones” on page 56.
I tried just creating a clone pool using view, I based it off the snapshot that is created once the view planner client installer completes, I named the pool_id and poolname the same, as well as the prefix of all the VMs. However, when I try to run the test, it doesn't work. Any clarification here would be greatly appreciated. I'm using a brand new installation of vsphere 5.5 U2, view 6, and view planner 3.5.We ask users to create desktop VM using View, while client or the launcher VMs can be created using vSphere provisioning. Why do you want to create the client VMs also as View pool? You can create them using vSphere provisioning provided on View Planner provisioning tab?
-
Template not linking to files in folders
Hi,
I have a template that is for about 5 folders. Each folder
has 3 html files in it. All the files in these folders are
identical.
The template has links set to go directly to those identical
pages in each folder.
For example:
Template
- home
- about
- contact
Folder
- home.html
- about.html
- contact.html
The problem, is that when I save and post, Dreamweaver is
adding /Templates/ into the link:
/Templates/home.html
How can I set the link, so that it stays in the same
directory/folder? I have tried ../ but this will take it to the
root directory.
Any help is appreciated!
Thanks.Which DW? In versions prior to DW8, you would have to make
your links like
this -
<a href="@@('whatever.html')@@"...
and DW will leave those links alone. The downside is that by
leaving them
alone, they will not be managed, so you'll have to do that
yourself.
In DW8, just set your Site Definition > Templates to NOT
update relative
links. Make sure you understand how this will affect other
relative links
that you may *want* DW to manage....
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com
- Template Triage!
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
http://www.macromedia.com/support/search/
- Macromedia (MM) Technotes
==================
"bbmbuffalo" <[email protected]> wrote in
message
news:ehoag8$4r1$[email protected]..
> Hi,
>
> I have a template that is for about 5 folders. Each
folder has 3 html
> files in
> it. All the files in these folders are identical.
>
> The template has links set to go directly to those
identical pages in each
> folder.
>
> For example:
> Template
> - home
> - about
> - contact
>
> Folder
> - home.html
> - about.html
> - contact.html
>
> The problem, is that when I save and post, Dreamweaver
is adding
> /Templates/
> into the link:
>
> /Templates/home.html
>
> How can I set the link, so that it stays in the same
directory/folder? I
> have
> tried ../ but this will take it to the root directory.
>
>
> Any help is appreciated!
>
>
> Thanks.
>
> -
Streaming App-V App to VMware Linked Clone VDI Pool via SCCM 2012 SP1
I have a few different App-V 5.0 applications that will work when deployed to a regular Windows 7 PC but when deployed to a VMware Linked Clone VDI I get a failure.
The primary error message appears to be: Windows Error: 0x11A - The mounted file system does not support extended attributes
Any suggestions are appreciated.
Here is the full details of this part of the log file:
<![LOG[+++ Starting Install enforcement for App DT "Adobe Acrobat X Standard - Microsoft Application Virtualization 5" ApplicationDeliveryType - ScopeId_B51FF007-E1D6-47B2-B4FE-656997855C16/DeploymentType_427a1d36-aa7e-4fc0-856c-0495b9214883,
Revision - 2, ContentPath - C:\Windows\ccmcache\2, Execution Context - Any]LOG]!><time="10:35:25.201+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appprovider.cpp:1643">
<![LOG[ A user is logged on to the system.]LOG]!><time="10:35:25.201+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appprovider.cpp:2014">
<![LOG[ Performing detection of app deployment type Adobe Acrobat X Standard - Microsoft Application Virtualization 5(ScopeId_B51FF007-E1D6-47B2-B4FE-656997855C16/DeploymentType_427a1d36-aa7e-4fc0-856c-0495b9214883, revision 2) for user.]LOG]!><time="10:35:25.203+300"
date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appprovider.cpp:2079">
<![LOG[ Installing App-V 5.X package Adobe Acrobat X Standard (DTId = ScopeId_B51FF007-E1D6-47B2-B4FE-656997855C16/DeploymentType_427a1d36-aa7e-4fc0-856c-0495b9214883, Revision = 2)]LOG]!><time="10:35:25.294+300" date="12-14-2013"
component="AppEnforce" context="" type="1" thread="6168" file="appv5xhandler.cpp:422">
<![LOG[Running App-V command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1'; Get-AppVPublishingServer
| Remove-AppVPublishingServer ] for the machine]LOG]!><time="10:35:25.295+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appvcommandutil.cpp:117">
<![LOG[ Executing Command line: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1'; Get-AppVPublishingServer
| Remove-AppVPublishingServer with system context]LOG]!><time="10:35:25.295+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appexcnlib.cpp:345">
<![LOG[ Process 1820 terminated with exitcode: 0]LOG]!><time="10:35:25.991+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appexcnlib.cpp:431">
<![LOG[The AppV 5X client is configured for use with ConfigMgr.]LOG]!><time="10:35:25.991+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appvclientconfig5x.cpp:64">
<![LOG[ Opened config file C:\Windows\ccmcache\2\AdobeAcrobat10_UserConfig.xml for package [Id = 6fbce927-29b1-452e-b274-c1b381f7a5ed] [Xml namespace=http://schemas.microsoft.com/appv/2010/userconfiguration].]LOG]!><time="10:35:26.072+300"
date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appv5xconfigfile.cpp:76">
<![LOG[Running App-V command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1'; Publish-AppvClientPackage
-PackageID 6fbce927-29b1-452e-b274-c1b381f7a5ed -VersionID 9fac3712-20e5-42d4-be67-4d3a8c2e19d3 -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\6fbce927-29b1-452e-b274-c1b381f7a5ed_UserConfig.xml' -ev err; if(($err -ne $null) -and
($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] for the user]LOG]!><time="10:35:26.090+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168"
file="appvcommandutil.cpp:117">
<![LOG[ Executing Command line: "C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1'; Publish-AppvClientPackage
-PackageID 6fbce927-29b1-452e-b274-c1b381f7a5ed -VersionID 9fac3712-20e5-42d4-be67-4d3a8c2e19d3 -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\6fbce927-29b1-452e-b274-c1b381f7a5ed_UserConfig.xml' -ev err; if(($err -ne $null) -and
($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)} with user context]LOG]!><time="10:35:26.091+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168"
file="appexcnlib.cpp:345">
<![LOG[ Process 7052 terminated with exitcode: 1]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168" file="appexcnlib.cpp:431">
<![LOG[Here is the error message generated by the process:
Publish-AppvClientPackage : Application Virtualization Service failed to
complete requested operation.
Operation attempted: Publish AppV Package.
Windows Error: 0x11A - The mounted file system does not support extended
attributes
Error module: Integration Manager. Internal error detail: 9BE013210000011A.
Please consult AppV Client Event Log for more details.
At line:1 char:106
+ import-module 'C:\Program Files\Microsoft Application
Virtualization\Client\Appv ...
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
~~~
+ CategoryInfo : InvalidResult: (:) [Publish-AppvClientPackage],
ClientException
+ FullyQualifiedErrorId : PublishPackageError,Microsoft.AppV.AppvClientPow
erShell.PublishAppvPackage
]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3" thread="6168" file="appexcnlib.cpp:441">
<![LOG[AppV command ["C:\\Windows\\System32\\WindowsPowerShell\\v1.0\\powershell.exe" -ExecutionPolicy Bypass import-module 'C:\Program Files\Microsoft Application Virtualization\Client\AppvClient\AppvClient.psd1'; Publish-AppvClientPackage
-PackageID 6fbce927-29b1-452e-b274-c1b381f7a5ed -VersionID 9fac3712-20e5-42d4-be67-4d3a8c2e19d3 -DynamicUserConfigurationPath 'C:\Windows\CCM\SystemTemp\AppVTempData\6fbce927-29b1-452e-b274-c1b381f7a5ed_UserConfig.xml' -ev err; if(($err -ne $null) -and
($error[0].Exception.AppvWarningCode -eq 8589935887)) {$host.SetShouldExit(4736)}] failed with return code 1.]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3"
thread="6168" file="appvcommandutil.cpp:128">
<![LOG[AppVCommandUtil::RunAppVCommand() failed. (0x87d0128f)]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3" thread="6168" file="appvcommandutil.cpp:154">
<![LOG[AppVManageClient5X::PublishAppVPackage() failed for package [6fbce927-29b1-452e-b274-c1b381f7a5ed]. (0x87d0128f)]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3"
thread="6168" file="appvmanage5x.cpp:148">
<![LOG[CAppV5XHandler::PublishSpecifiedAppVComponents() failed. (0x87d0128f)]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3" thread="6168" file="appv5xhandler.cpp:1810">
<![LOG[CAppV5XHandler::PublishAppVComponentsForDT() failed. (0x87d0128f)]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3" thread="6168" file="appv5xhandler.cpp:1745">
<![LOG[ CAppV5XHandler::InstallApp() failed. (0x87d0128f)]LOG]!><time="10:35:27.555+300" date="12-14-2013" component="AppEnforce" context="" type="3" thread="6168" file="appv5xhandler.cpp:646">
<![LOG[++++++ App enforcement completed (2 seconds) for App DT "Adobe Acrobat X Standard - Microsoft Application Virtualization 5" [ScopeId_B51FF007-E1D6-47B2-B4FE-656997855C16/DeploymentType_427a1d36-aa7e-4fc0-856c-0495b9214883],
Revision: 2, User SID: S-1-5-21-2088122422-771453202-631647523-30201] ++++++]LOG]!><time="10:35:27.556+300" date="12-14-2013" component="AppEnforce" context="" type="1" thread="6168"
file="appprovider.cpp:2366">Hello,
See these topics;
http://blogs.msdn.com/b/vsnetsetup/archive/2013/05/06/the-mounted-file-system-does-not-support-extended-attributes.aspx
http://technet.microsoft.com/en-us/library/cc978803.aspx
I would assume that the file-system you are attempting to place the app is not supported. The above articles could give you a hint on what to verify why that is the case.
Nicke Källén | The Knack| Twitter:
@Znackattack -
Moving a template or input schedule from one environment to another in MS
Hi team,
Can anyone let me know how does any template or input schedule is moved from one environment to another in MS version?
Please give me steps.. Appreciate your great help....
Thanks,
Chandrakanth.KHi Chandrakanth,
if you want only the template the easiest is just copy the xlt file from the same folder from one server to the other.
If you want to copy all the environment (even data) you can use backup and restore from the server manager (appset\server backup save the zip file on the destination environment and restore it).
From the BPC MS 7.5 SP06 and 10.0 SP01 even the SAP Enhanced Change and Transport System (CTS+) is enabled, for this please see http://www.sdn.sap.com/irj/scn/weblogs?blog=/pub/wlg/25924
Kind regards
Roberto -
Moving images doesnt update links in topics
RH8 HTML.
I moved some images around, renamed the folder containing them (all in RH). But the topics that use those images still hold the old link, and wont update to where the folder where the iamges are stored so all the links are dead. Is there a way to force a re-scan or something to make the topics look for the new location of the images, or do I have to change the paths manually in each topic where the links are broken?
I would have thought that when moving images in RH it would update paths in topics where those images are used so that it wouldnt have to be done manually.Obviously those images were showing in Project Manager before you started moving the topics around, RH has always reworked the path reliably. It does not if you move them in Windows Explorer but you say that is not what you did.
If you right click an image and select Properties, you can see Used In. Is that blank?
Create a test project and create some folders and topics with images. Move things around and check it all works as it should.
Post back how that goes.
See www.grainge.org for RoboHelp and Authoring tips -
Attached Template no link into page
This is regard to an attached Template. I have the page with a .dwt attach . I clicked : modify/templates/open attached templates. I checked the template every is in place and updated. After I upload the files and check. I notice the changes are not in place> Can you help? this is the page: http://southerntechnicalinstitute.com/healthjobs.html
I did something that works. Instead of File open the dwt, I opened it from the html page in dreamweaver and update all links on it. It seems is working now. If the problem persiste I will let you know. Anyway, thanks a lot for the quick return.
-
Div background images moving in template
I am using a "stock" css layout (from Dreamweaver). I have a
header div with an image placed in it with text on top. I have made
some content text editable on other parts of the page, however when
I make the page a template the image placed in the div disappears.
I checked the code, and the .jpg is still listed. Any ideas or
suggestions on how to fix this would be appreciated!Line 30?
Can you upload the page and post a link instead?
Murray --- ICQ 71997575
Adobe Community Expert
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.projectseven.com/go
- DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs,
Tutorials & Resources
==================
"VIPGuilford" <[email protected]> wrote in
message
news:[email protected]...
> Ok. here is the code. The reference to the image.jpg is
on line 30. It was
> placed as a background image in Header div in DW.
> and the text was placed on top..thanks for your help
everyone ( sorry for
> all
> the commenting in the code)
>
> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0
Transitional//EN"
> "
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
> <html xmlns="
http://www.w3.org/1999/xhtml"><!--
InstanceBegin
> template="lesson01/Templates/qwerty.dwt"
> codeOutsideHTMLIsLocked="false" -->
> <head>
> <meta http-equiv="Content-Type" content="text/html;
charset=UTF-8" />
> <!-- InstanceBeginEditable name="doctitle" -->
> <title>Vacation Palace</title>
> <!-- InstanceEndEditable -->
> <style type="text/css">
> <!--
> body {
> font: 100% Verdana, Arial, Helvetica, sans-serif;
> background: #FFFFFF;
> margin: 0; /* it's good practice to zero the margin and
padding of the
> body
> element to account for differing browser defaults */
> padding: 0;
> text-align: center; /* this centers the container in IE
5* browsers. The
> text
> is then set to the left aligned default in the
#container selector */
> color: #000000;
> }
> .twoColFixLtHdr #container {
> width: 780px; /* using 20px less than a full 800px width
allows for
> browser
> chrome and avoids a horizontal scroll bar */
> background: #FFFFFF;
> margin: 0 auto; /* the auto margins (in conjunction with
a width) center
> the
> page */
> border: 1px solid #000000;
> text-align: left; /* this overrides the text-align:
center on the body
> element. */
> }
> .twoColFixLtHdr #header {
> padding: 0 10px 0 20px; /* this padding matches the left
alignment of
> the
> elements in the divs that appear beneath it. If an image
is used in the
> #header
> instead of text, you may want to remove the padding. */
> background-color: #FFFFFF;
> background-repeat: no-repeat;
> background-position: 0px;
> background-image: url(file:///Macintosh
>
HD/Users/davidwasserboehr/Desktop/lesson01/images/cloud_header.jpg);
> } -
Moving menu template from premiere elements 4 to premiere elements 9
Last year I upgraded from premiere elements 4 to 9. I could not find a generic menu template in premiere elements 9 so I moved one from the program files of premiere elements 4 to the program files of premiere elements 9. This seemed to work okay except that the background art that I used for the main menu does not show up on the burned DVD even though it is there when viewing the project. I'm using a PC with Windows 7. Any suggestions would be greatly appreciated.
Several of the menu templates for PRE9 had problems, such as custom backgrounds ignored. A. T. Romano did a lot of work on investigating these issues.
For example:
Premiere Elements 9 Disc Menu (main/scene)
PE9 Menu background
It seems likely that whatever caused the faults in PRE9 is also tripping up with your PRE4 template. Others have reported that the problems were fixed in PRE10.
Cheers,
Neale
Insanity is hereditary, you get it from your children -
XML/RTF Data Template Question : Linking
Ok, I have my data template here however when I try to print it, BIP makes no attempt to link the queries. I am using the Bind Method here with an XML Data Template.
Data template is:
<dataTemplate name="Orders_Dataset" description="List of Orders with Details" dataSourceRef="COE" defaultPackage="results_report">
<parameters>
<parameter name="TERM" dataType="character"/>
</parameters>
<dataQuery>
<sqlStatement name="People_Query">
<![CDATA[SELECT DISTINCT PERSON Personp, RECTYPE RECTYPEP, SEC SECP, TERM TERMP, (SELECT TERMNAME FROM TERM b WHERE b.BANNER_CODE = TERM ) termnamep, PERSON || ' ' || SEC PERSEC FROM COE_DATA]]>
</sqlStatement>
<sqlStatement name="General_Questions_Query">
<![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and Q_Number < 6 and d.Person = :Personp order by Q_Number]]>
</sqlStatement>
<sqlStatement name="Department_Questions_Query">
<![CDATA[select DISTINCT d.PERSON PERSON, d.SEC SEC, q.Q_Number Q_Number, q.Q_ID Q_ID, TRIM(q.TEXT) text, TRIM(q.A1) A1, TRIM(q.A2) A2, TRIM(q.A3) A3, TRIM(q.A4) A4, TRIM(q.A5) A5, TRIM(A6) A6 from COE_DATA d, coe_questions q WHERE q.Q_Number = d.Q_ID and d.Person = :Personp order by Q_Number]]>
</sqlStatement>
<sqlStatement name="Results_Query">
<![CDATA[SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 | 0.00%') A1,
NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 | 0.00%') A2,
NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 | 0.00%') A3,
NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 | 0.00%') A4,
NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 | 0.00%') A5,
NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 | 0.00%') A6, 1 o_id
FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = 'COE' and a.person = 'COE'
UNION
SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 | 0.00%') A1,
NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 | 0.00%') A2,
NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 | 0.00%') A3,
NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 | 0.00%') A4,
NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 | 0.00%') A5,
NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 | 0.00%') A6, 2 o_id
FROM coe_data a where term = :termp and a.Q_ID = :Q_Number and a.sec = :secp and a.person = :secp
UNION
SELECT DISTINCT a.person person, a.rectype rectype, a.sec sec, a.term term, a.Q_ID q_id,
NVL((SELECT b.PERCENTVALUE FROM coe_data b where a.person = b.person and a.rectype = b.RECTYPE and a.sec = b.sec and a.term = b.term and a.Q_ID = b.Q_ID and b.AD_ID = 1 ), '0 | 0.00%') A1,
NVL((SELECT c.PERCENTVALUE FROM coe_data c where a.person = c.person and a.rectype = c.RECTYPE and a.sec = c.sec and a.term = c.term and a.Q_ID = c.Q_ID and c.AD_ID = 2 ), '0 | 0.00%') A2,
NVL((SELECT d.PERCENTVALUE FROM coe_data d where a.person = d.person and a.rectype = d.RECTYPE and a.sec = d.sec and a.term = d.term and a.Q_ID = d.Q_ID and d.AD_ID = 3 ), '0 | 0.00%') A3,
NVL((SELECT f.PERCENTVALUE FROM coe_data f where a.person = f.person and a.rectype = f.RECTYPE and a.sec = f.sec and a.term = f.term and a.Q_ID = f.Q_ID and f.AD_ID = 4 ), '0 | 0.00%') A4,
NVL((SELECT g.PERCENTVALUE FROM coe_data g where a.person = g.person and a.rectype = g.RECTYPE and a.sec = g.sec and a.term = g.term and a.Q_ID = g.Q_ID and g.AD_ID = 5 ), '0 | 0.00%') A5,
NVL((SELECT h.PERCENTVALUE FROM coe_data h where a.person = h.person and a.rectype = h.RECTYPE and a.sec = h.sec and a.term = h.term and a.Q_ID = h.Q_ID and h.AD_ID = 6 ), '0 | 0.00%') A6, 3 o_id
FROM coe_data a where term = :TERMP and a.Q_ID = :Q_NUMBER and a.sec = :SECP and a.person = :PERSONP order by o_id, rectype]]>
</sqlStatement>
</dataQuery>
<!--dataTrigger name="beforeReport" source="results_report.beforeReportTrigger"/-->
<dataStructure>
<group name="G_People" source="People_Query">
<element name="Person" value="personp"/>
<element name="Section" value="secp"/>
<element name="Course_Number" value="RECTYPEP"/>
<element name="Term" value="TERMP"/>
<element name="PERSEC" value="PERSEC"/>
<group name="G_GENERAL_QUESTIONS" source="Department_Questions_Query">
<element name="GQuestion_Text" value="text"/>
<element name="GQuestion_Number" value="Q_Number"/>
<element name="GQ1" value="A1"/>
<element name="GQ2" value="A2"/>
<element name="GQ3" value="A3"/>
<element name="GQ4" value="A4"/>
<element name="GQ5" value="A5"/>
<element name="GQ6" value="A6"/>
<group name="G_GENERAL_ANSWERS" source="Results_Query">
<element name="GAPerson" value="person"/>
<element name="GArec" value="rectype"/>
<element name="GAsec" value="sec"/>
<element name="GARQ_ID" value="Q_ID"/>
<element name="GA1" value="A1"/>
<element name="GA2" value="A2"/>
<element name="GA3" value="A3"/>
<element name="GA4" value="A4"/>
<element name="GA5" value="A5"/>
<element name="GA6" value="A6"/>
</group>
</group>
<group name="G_DEPARTMENT_QUESTIONS" source="Department_Questions_Query">
<element name="DQuestion_Text" value="text"/>
<element name="DQuestion_Number" value="Q_Number"/>
<element name="DQ1" value="A1"/>
<element name="DQ2" value="A2"/>
<element name="DQ3" value="A3"/>
<element name="DQ4" value="A4"/>
<element name="DQ5" value="A5"/>
<element name="DQ6" value="A6"/>
<group name="G_DEPARTMENT_ANSWERS" source="Results_Query">
<element name="DAPerson" value="person"/>
<element name="DArec" value="rectype"/>
<element name="DAsec" value="sec"/>
<element name="DARQ_ID" value="Q_ID"/>
<element name="DA1" value="A1"/>
<element name="DA2" value="A2"/>
<element name="DA3" value="A3"/>
<element name="DA4" value="A4"/>
<element name="DA5" value="A5"/>
<element name="DA6" value="A6"/>
</group>
</group>
</group>
</dataStructure>
</dataTemplate>
I am trying to establish all my linking in this data template. However I noticed a discrepancy between the expected output and what I received. For some reason at the 3rd level of the dataStructure (the answer level), it restarts at Q_ID = 1 instead of whatever the Q_Number is from the level above. In my case all of the answers are in the same table regardless of category. Can someone offer up any help with fixing my template?
I did notice something odd, for G_DEPARTMENT_ANSWERS it is working correct but does not work for G_GENERAL_ANSWERS.Warren,
You need to select data source type as DataTemplate and then cut and paste your DataTemplate in the text editor window.
Make sure you define the dataSourceRef in dataTemplate Header. The dataSourceRef is the DataSource (JDBC Connection) you define through Administartion.
<dataTemplate name="Employee" description="Template description" dataSourceRef="demo">
-Ashish -
Serial # template w/linked story on path to easily edit number batches
Hey!!! I am making an indesign template for a customer they need it to serialize their product with a laser engraver and this jig that is already made from this same file. What it is is a series of 56 - 1.1" circles with 3 digit serial # following the path of each circle. I am going nuts trying to get this to work but I can't do it! If it is all one linked story I can just drop in a new batch of numbers and they will all be in the right place in 1 second! If it were not following the path I would have been done hours ago! I have linked up the file here so you can see any help thanks!!! I hope I am explaining this well!
http://binarydetroit.com/helpmeplz/A real pain in the neck, but doable. And I'd make this a non-facing document and set it up on the master page.
I'd start with one circle, then click on it with the type on a path tool (cilci the triangle in the lower right of the text tool). Zoom in and use the direct select tool to adjust the inport and outport positions to the desired locations and set the length of the text on the circle.
Select the circle and use step and repeat to build the grid.
Click the outport of the first circle, then click in the path area of the second circle that has the text to link them. This should highlight the second circle and you should see the threading arrow inside the inport. Click the outport and continue thread the paths until the whole page is threaded.
I didn't have any luck with using auto-flow to just place my number list, so I selected my page and from the pages panel menu selected Override All Master Objects. Then I just selecet the text file and clicked the loaded cursor on the path or the first circle (without holding a modifier key). If you have more numbers than circles, add a page and repeat the master objects override, then pick up the overset from the last circle onthe previous page and click on a new circle. I didn't test , but it might work to add multiple pages first, do the overrides, then place the list holding the Alt/Opt key to leave the cursor loaded for each page. -
Template updates links not correctly
Dreamweaver CS3 for Mac:
I had to add the following into my already existing sitewide
template file:
<!--[if IE]>
<link href="../iestyle.css" rel="stylesheet"
type="text/css" />
<![endif]-->
but unfortunately links that are more than one level deep do
not update correctly on my HTML pages.
Is there a way to make this work?
Martin>Ok, it seems that Dreamweaver is overstrained by altering
template links within conditional statements.
>Thats very sad, if this group is read by Adobe people
please fix this before Dreamweaver CS4!
>I prefer clean HTML files but it seems the only solution
is to bloat each and every file with browser specific CSS or
scripts
You are wrong - it is not a DW bug. The link to the
stylesheet has to be either relative to the root of the website
(href="/xxx" notation) or relative to the page (href="../xxx"
notation) NOT the template. You may not see this in the design view
of DW depending on what version you are using and how you have set
DW up to include links (See options/preferences).
If you have multiple levels of pages, then you HAVE to use
root relative links - that is the way of the web, it is not a DW
problem.
If you want to see the correct result in Design view, you may
have to use 'Design time stylesheets' : Look up the term in DW
help.
s -
Cs5 Advanced Photo Album Template Live Links
I'm using this template as a "quick & dirty" content slider for my website. I got everything to work great, there's no issues with it's functionality or actionscript. I would just like to make each image a "clickable" link. I got 4 images that I want to take users to 4 separate webpages, I've searched and searched for answers but most are over my head. Is there anybody that could help me? Here's the actions:
import fl.data.DataProvider;
import fl.events.ListEvent;
import fl.transitions.*;
import fl.controls.*;
// USER CONFIG SETTINGS =====
var secondsDelay:Number = 7;
var autoStart:Boolean = true;
var transitionOn:Boolean = true; // true, false
var transitionType:String = "Fade"; // Blinds, Fade, Fly, Iris, Photo, PixelDissolve, Rotate, Squeeze, Wipe, Zoom, Random
var hardcodedXML:String="<photos><image title='Your Choice'>image1.jpg</image><image title='Quick Option'>image2.jpg</image><image title='New Product'>image3.jpg</image><image title='Get Started'>image4.jpg</image></photos>";
// END USER CONFIG SETTINGS
// DECLARE VARIABLES AND OBJECTS =====
var imageList:XML = new XML();
var currentImageID:Number = 0;
var imageDP:DataProvider = new DataProvider();
var slideshowTimer:Timer = new Timer((secondsDelay*1000), 0);
// END DECLARATIONS
// CODE FOR HARDCODED XML =====
imageList = XML(hardcodedXML);
fl_parseImageXML(imageList);
// END CODE FOR HARDCODED XML
// EVENTS =====
imageTiles.addEventListener(ListEvent.ITEM_CLICK, fl_tileClickHandler);
function fl_tileClickHandler(evt:ListEvent):void
imageHolder.imageLoader.source = evt.item.source;
currentImageID = evt.item.imgID;
playPauseToggle_mc.addEventListener(MouseEvent.CLICK, fl_togglePlayPause);
function fl_togglePlayPause(evt:MouseEvent):void
if(playPauseToggle_mc.currentLabel == "play")
fl_startSlideShow();
playPauseToggle_mc.gotoAndStop("pause");
else if(playPauseToggle_mc.currentLabel == "pause")
fl_pauseSlideShow();
playPauseToggle_mc.gotoAndStop("play");
next_btn.addEventListener(MouseEvent.CLICK, fl_nextButtonClick);
prev_btn.addEventListener(MouseEvent.CLICK, fl_prevButtonClick);
function fl_nextButtonClick(evt:MouseEvent):void
fl_nextSlide();
function fl_prevButtonClick(evt:MouseEvent):void
fl_prevSlide();
slideshowTimer.addEventListener(TimerEvent.TIMER, fl_slideShowNext);
function fl_slideShowNext(evt:TimerEvent):void
fl_nextSlide();
// END EVENTS
// FUNCTIONS AND LOGIC =====
function fl_parseImageXML(imageXML:XML):void
var imagesNodes:XMLList = imageXML.children();
for(var i in imagesNodes)
var imgURL:String = imagesNodes[i];
var imgTitle:String = imagesNodes[i].attribute("title");
imageDP.addItem({label:imgTitle, source:imgURL, imgID:i});
imageTiles.dataProvider = imageDP;
imageHolder.imageLoader.source = imageDP.getItemAt(currentImageID).source;
title_txt.text = imageDP.getItemAt(currentImageID).label;
function fl_startSlideShow():void
slideshowTimer.start();
function fl_pauseSlideShow():void
slideshowTimer.stop();
function fl_nextSlide():void
currentImageID++;
if(currentImageID >= imageDP.length)
currentImageID = 0;
if(transitionOn == true)
fl_doTransition();
imageHolder.imageLoader.source = imageDP.getItemAt(currentImageID).source;
title_txt.text = imageDP.getItemAt(currentImageID).label;
function fl_prevSlide():void
currentImageID--;
if(currentImageID < 0)
currentImageID = imageDP.length-1;
if(transitionOn == true)
fl_doTransition();
imageHolder.imageLoader.source = imageDP.getItemAt(currentImageID).source;
title_txt.text = imageDP.getItemAt(currentImageID).label;
function fl_doTransition():void
if(transitionType == "Blinds")
TransitionManager.start(imageHolder, {type:Blinds, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Fade")
TransitionManager.start(imageHolder, {type:Fade, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Fly")
TransitionManager.start(imageHolder, {type:Fly, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Iris")
TransitionManager.start(imageHolder, {type:Iris, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Photo")
TransitionManager.start(imageHolder, {type:Photo, direction:Transition.IN, duration:0.25});
} else if (transitionType == "PixelDissolve")
TransitionManager.start(imageHolder, {type:PixelDissolve, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Rotate")
TransitionManager.start(imageHolder, {type:Rotate, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Squeeze")
TransitionManager.start(imageHolder, {type:Squeeze, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Wipe")
TransitionManager.start(imageHolder, {type:Wipe, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Zoom")
TransitionManager.start(imageHolder, {type:Zoom, direction:Transition.IN, duration:0.25});
} else if (transitionType == "Random")
var randomNumber:Number = Math.round(Math.random()*9) + 1;
switch (randomNumber) {
case 1:
TransitionManager.start(imageHolder, {type:Blinds, direction:Transition.IN, duration:0.25});
break;
case 2:
TransitionManager.start(imageHolder, {type:Fade, direction:Transition.IN, duration:0.25});
break;
case 3:
TransitionManager.start(imageHolder, {type:Fly, direction:Transition.IN, duration:0.25});
break;
case 4:
TransitionManager.start(imageHolder, {type:Iris, direction:Transition.IN, duration:0.25});
break;
case 5:
TransitionManager.start(imageHolder, {type:Photo, direction:Transition.IN, duration:0.25});
break;
case 6:
TransitionManager.start(imageHolder, {type:PixelDissolve, direction:Transition.IN, duration:0.25});
break;
case 7:
TransitionManager.start(imageHolder, {type:Rotate, direction:Transition.IN, duration:0.25});
break;
case 8:
TransitionManager.start(imageHolder, {type:Squeeze, direction:Transition.IN, duration:0.25});
break;
case 9:
TransitionManager.start(imageHolder, {type:Wipe, direction:Transition.IN, duration:0.25});
break;
case 10:
TransitionManager.start(imageHolder, {type:Zoom, direction:Transition.IN, duration:0.25});
break;
} else
trace("error - transitionType not recognized");
if(autoStart == true)
fl_startSlideShow();
playPauseToggle_mc.gotoAndStop("pause");Without writing the code for you, the general idea is knowing what the image number is. That seems to be your issue. Your click events need to be able to extract the name of the image that was clicked (who's instance name can have that number in it). Based on that number you can determine what to do.
Any MouseEvent.CLICK function handlers will give you the name (if you set it) of what was clicked.
e.g.
import flash.display.Sprite;
import flash.events.MouseEvent;
var a:Sprite = new Sprite();
a.beginFill(0xFF0000,1);
a.graphics.drawRect(0,0,100,100); // draw red rectangle
a.graphics.endFill();
addChild(a);
// give it a name
a.name = "a_1";
a.addEventListener(MouseEvent.CLICK, handleClick);
// Now on a click, extract the name and use it:
function handleClick(e:MouseEvent):void
// what button was clicked?
trace(e.target.name);
// get the number
var num:int = int(e.target.name.toString().split('_')[1]);
trace("Button #" + num + " clicked");
// do something based on the number
if (num == 1)
// do something based on button 1
else if (num == 2)
// do something based on button 2
// etc...
Maybe you are looking for
-
I have the K7N2 Delta board (rest of system specs are in sig) and after about 45mins-1 hour of gaming, my system locks up and resets. After lock up, if i go into bios, my sys temps usually read about 59-64 degrees celcuis. I was having this problem
-
QuickTime for Windows - version incompatibility with Safari 5.1?
This issue involves a Dell Laptop running Windows XP Pro, SP3. I installed Quicktime and iTunes, and both were functioning fine. I then installed Open Office, a couple of Windows security updates. and then Safari 5.1 Immediately after the above insta
-
How do I upgrade my operating system on OSX 10.2.8
I'm trying to upgrade my computer so I can download and use the new itunes. I have looked in the apple menu for the command "update latest softwear" but on my version it doesn't exist and the only option is Get OS X softwear. This takes me to the App
-
display off...external ok
-
Referencing PTLoader in Webform that posts to server thru DNWCs fails
I'm running into what appears to be some kind of configuration issue. I'm referencing PTLoader in a Webform to intantiate the Adaptive Portlet Framework. This Webform posts back to the server thru DNWCs. When the postback occurs, I make it to the ser