Obtaining template of page in extjs

How can i get the template of a page in javascript without using scriptlets? Something like CQ.WCM.getPageInfo()...

Found a solution to it. All the properties of the page gets stored in an json object which can be accessed by appending .1.json to the page url. If http://localhost:4502/content/en.html is your page, then http://localhost:4502/content/en.1.json gives your page properties. Hence, we can extract the required property(cq:template) from the object using getJSON() method.

Similar Messages

  • Quarter fold card template for pages

    I've just bought a mac mini and love it.
    I'm still moving over from MS products to Apple and it's going pretty well apart from MS Publisher.
    This still seems to be better at certain things than Pages.
    One issue is the lack of templates for cards in particular.
    Does anyone know where i can get hold of a quarter fold card template for Pages?
    I did see one but it was for Pages 09 and version 5.5.2 doesn't seem to open it.

    You can use a free Avery for MS Word Greeting Card. Click the Template Only (works with PC and Mac) radio button, and then download. Open in Pages v5.5.2, and first save as a Pages document in your Documents folder. Set the font, etc. to what you want in your Quarter-fold card template. Once you have done that, from the File menu, select Save as Template, and give it a name. While you are there, observe what a right-click on the template name presents in a pop-up menu.
    When you open Pages without specifying a document, it will default to a Template Chooser. Your Quarter-fold template is parked in the User Templates category.
    Pages v5.5.2 is not designed to compete as a true Desktop Publishing/Layout application. If you want to open Publisher documents on the Mac, get a free copy of LibreOffice, which will open them. Since it is not Publisher itself, your mileage will vary on layout accuracy. The LibreOffice PDF documentation is available, and created with LibreOffice. Since this is a superset, MS Office replacement package, there is a forms designer in the Writer application, and the ability to open PDF and edit them also exists. There is also complete Visio support from the first version to the latest.
    When you first launch LibreOffice, you must click the open button in the initial dialog, and afterwards, a double-click will open it normally. This will be true for any Mac applications obtained outside the OS X App Store.

  • How to delete a template in pages, how to delete a template in pages

    Have looked on forums... 1. Cannot find "Go" on finder menu. 2. No library found. 3 Cannot delete nor can I drag old templates into the trash.
    My templates folder is pages is cluttered with old templates. Are they here forever? Or, can they be removed?

    Simpler version of deleting templates using Pages:
    Utilizing v. 5.5.2
    Go to Pages and select New
    Select My Templates
    If you don't have the right click enabled on your trackpad, click control and select the template you want to delete which gives you the option to Rename or Delete the file.
    Hope this helps

  • Is there a way to create my own template on Pages for iPad?

    Hi, I've searched for this topic but can't seem to find a recent thread. I need to know if there's a way of creating a new template for Pages on my iPad. Would love to use the iPad more in school but can't seem to get it to do what we want it to! If this isn't possible then can anyone suggest an App that would be more useful. Many Thanks!

    This was discontinuted in CS5 howerver you could migrate that plugin to CS5.  I don`t know if you can do this with CS6.
    To my knowledge they only provided a revised Contact sheet II script for CS6. In my opinion a very bad idea because they should have put all efforts and resources to enhance the Output Module PDF contact sheet that has far more options.
    Still not using web galleries but the goal for web gallery was also to use this in the Adobe Output Module, maybe that provides you the options you want?

  • How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    How can I add a new Template to My Templates in Pages? I've read most of the discussions on the subject but it doesn't work for me. By the time I reach the Templates folder, I only see templates for Numbers and not for Pages. Need help, please.  Thanks

    Si vous avez utilisé la commande Save As Template depuis Pages, il y a forcément un dossier
    iWork > Pages
    contenant Templates > My Templates
    comme il y a un dossier
    iWork > Numbers
    contenant Templates > My Templates
    Depuis le Finder, tapez cmd + f
    puis configurez la recherche comme sur cette recopie d'écran.
    puis lancez la recherche.
    Ainsi, vous allez trouver vos modèles personnalisés dans leur dossier.
    Chez moi, il y en a une kyrielle en dehors des dossiers standards parce que je renomme wxcvb.template quasiment tous mes documents Pages et wxcvb.nmbtemplate à peu près tous mes documents Numbers.
    Ainsi, quand je travaille sur un document, je ne suis pas ralenti par Autosave.
    Désolé mais je ne répondrai plus avant demain.
    Pour moi il est temps de dormir.
    Yvan KOENIG (VALLAURIS, France)  mercredi 23 janvier 2011 22:39:28
    iMac 21”5, i7, 2.8 GHz, 4 Gbytes, 1 Tbytes, mac OS X 10.6.8 and 10.7.2
    My iDisk is : <http://public.me.com/koenigyvan>
    Please : Search for questions similar to your own before submitting them to the community

  • Can not create template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • Can not build a template based page with customized page type.

    I built a customized page type (with persepective attribute) and wanted to build pages with this type. If the new pages do not based on any template, it works fine. However, if I wanted to use a template, the page type was set back to "standard"!
    Steps to reproduce it:
    1. create a new page type - test page type.
    2. create a new template = test template.
    3. create a new page - test page.
    3.1 choose the page type to be "test page type"
    3.2 fill in the form including the new attribute info.
    3.2 choose the page template to be 'test template"
    3.3 click finish
    4. click the properties of "test page", it shows that the page type is "standard" and the new attribute information is gone!
    If in step 3.2, no template is chosen, the properties of the new page shows the page type is "test page type".
    I tried to find a workaround.
    1. create a page with "test page type".
    2. covert the new page to template.
    I got this error message:
    Error while copying page. (WWC-44262)
    (WWC-00000)
    Looks like customized page type and template can not coexist. Is this a bug?

    How long should the upgrade take? And should it be attempted on a production (infrastructure on machine 1/middle-tier on machine 2) Windows 2000 architecture? Or should be wait for 9.0.4? Or ... should I ask this in a TAR? Thanks!
    Mike

  • How can I use Pages 4.3 (from Retail pack) template on Pages 5.2 (from Mac App Store)?

    This is a new machine running on Mavericks bought last year since my old Mac had a hard-drive failure. Installed Pages (part of iWork '09 package), updated to Pages 5.0 from the Mac App Store and no issues. However, now I need to use some of the old Pages template (San Fancisco Letter to be specific) and the new Pages dosn't have that.
    So I had to extract the San Fancisco template from Pages '09 and tried installing under 'My Template' on Pages 5.3. But evertime I'm getting an error while installing. That's when I realised after going through the discussions here, that I can't install a Pages '09 template on Pages 5.3.
    So my question is how to use a Pages 4.0 template on Pages 5.3? Is it possible to install Pages 4.3 while Pages 5.2 is still installed? Is there a workaround?
    Note: I don't need Pages 4.3 but would like to use some of the templates from there, working on Pages 5.2.
    Thanks in advance - Sid

    Due to the huge number of missing features in v5.2 that were functional in Pages ’09 v4.3, many of the older version templates expect features/functionality that simply do not exist in v5.2. You should realize that Pages v5 is a brand new application/design, and not a progressive version enhancement to Pages ’09.
    When you updated to Pages v5, that process automatically moved Pages ’09 v4.3 into /Applications/iWork '09. You can continue to use the older Pages (and associated custom templates) on Mavericks.
    I would resist removing Pages ’09 from your machine, as it is functionally superior to Pages v5.
    Templates that you save with Pages ’09 v4.3 are kept in ~/Library/Application Support/iWork/Pages/Templates/My Templates
    Templates that you save with Pages v5+ are kept in ~/Library/Containers/com.apple.iWork.Pages/Data/Library/Application Support/User Templates
    One of the things that I noticed about the original Pages v5 installation is that it transferred a small subset of My Templates from Pages ’09 into the above User Templates location. These were relative simple templates. The complicated ones did not migrate.
    Be certain to make a backup copy of any Pages ’09 template document. Once you open it in Pages v5+, it can no longer be opened in the older Pages application. Providing the template is compatible with Pages v5+, perform a File > Save as Template... to the default location.

  • How do you remove templates in Pages 08

    Hi,
    I need some help, I have created some templates for my company, but have just updated the logo. I have been trying to remove the old templates but with no luck, I have gone to the "my Template' folder but it is saying its empty! I have tried 'Format / advanced / manage pages' but this is not removing them, any help that you can give would be great, thanks

    Hi all
    I Hope this may help someone else who took hours to work this out as I was a bit dumb to see what was staring me in the face I followed the last thread I read to the letter and instead of changing the Numbers folder to the Pages one
    <startupDisk>:Users:<yourAccount>:Library:ApplicationSupport:iWork:NumbersEnglis h:Templates:My Templates:"
    I went here close but one folder out, instead of the numbers folder go to the Pages folder if you want to change template in Pages (I feel so silly)
    <startupDisk>:Users:<yourAccount>:Library:Application Support:iWork:Pages:Templates:My Templates:"

  • How do you delete templates in Pages?

    How do you delete templates in Pages?

    Hi Lilly,
    If you mean "My Templates" they are in a hidden folder.
    In Finder, open the Go menu and hold down the option key (alt) in order to see the user library folder.
    Open the library folder and navigate to:
    Library/Application Support/iWork/Pages/Templates/My Templates.
    Select a template then drag it to the Trash (or command-delete).
    Having gone to all that trouble to find that hidden folder, single click to select My Templates folder, then
    Menu > File > Make Alias
    An Alias folder appears. Rename it to something such as "My Templates Pages alias" then drag it out of My Templates folder to somewhere convenient (maybe the Desktop will do for now).
    You can now close all those folders that you navigated through because the Alias (double click on it) is a quick way to go there again.
    Repeat this process for other iWork apps such as Numbers.
    Another way to manage your templates is to open one, make changes, then Save As Template with the original name of that template. The new template will replace the old one.
    Regards,
    Ian.

  • How to get a template from pages on to an email to send? (Not as attachment)

    This question might have an obvious answer or not be possible at all, but I was wondering if it's possible to create a template in pages and then use that as an email template, so far all I've been able to do is attach the template as an attachment to an email, whereas I want the template to be the actual email. Any help would be appreciated? I hope I've made myself clear.

    hi rohan,
    u r right because we can pass variables with links in following format :
    http://<domain>:<port>/<path>/page.htm?empid=123
    and in this "page.htm" create a page attribute EMPID with AUTO ATTRIBUTE CHECKED .
    now we can retrieve the value of empid .
    similarly u can pass multiple variables with same link separated by "&" in following format :
    http://<domain>:<port>/<path>/page.htm?empid=123&empname=anx&empdept=it    .
    and create corresponding page attributes in the same manner.
    hope it will help u.
    Regards,
    Ankur

  • Accessing multi-section templates in Pages 5... how?

    We have some templates created in Pages 4.3 that have multiple sections defined.  (A cover page, various internal Body page styles, and an end page).  We constructed our documents in 4.3 using selections from the various sections in the templates (e.g. get a cover with CC text on it, a two column body and a CC end-page, or a cover with commercial copyright, single column body text blank back page etc.).
    I can create a new document from the 4.3 template in Pages 5, but I can't work out how to access these various internal sections.  Anyone know?

    I've just confirmed that the templates features have been removed - if you 'roundtrip' a Pages 09 document into Pages 5 and then save it back to Pages 09, the resulting document has had all the template section related information removed along the way.
    This is a serious blow for us - we similarly use multi-purpose templates in Pages 09 (e.g. just one for all the variations of invoice we generate).  Initial reports in these fora and elsewhere suggest that there are several other key features that didn't make it through to the latest version of Pages - unclear whether these make the application unusable in our production environment or not.
    What is most frustrating is that the new Pages finally has proper RTL support (which we've been wanting for ages)... aaagh!
    But at least we were just about to create a new set of templates, so maybe we use this as 'final nail in coffin' and invest this time in another app - I guess NeoOffice is the most likely candidate, as MS Office (on OSX) still does not support RTL in any sensible fashion.

  • Creating multi-section templates in Pages 5 - how?

    In Pages 4.3 you could define and name various multi-page sections that lived 'within' a document template, and then pick from these to build up a document.
    You could control these internal sections within the template using the "Manage Pages..." command (having first moved arbitrary sets of pages to the template area using the "Capture pages..." command.
    I can't find any equivalent to either of these commands in Pages 5 - am I missing something?  Or is Pages 5 currently short of this feature?

    I've just confirmed that the templates features have been removed - if you 'roundtrip' a Pages 09 document into Pages 5 and then save it back to Pages 09, the resulting document has had all the template section related information removed along the way.
    This is a serious blow for us - we similarly use multi-purpose templates in Pages 09 (e.g. just one for all the variations of invoice we generate).  Initial reports in these fora and elsewhere suggest that there are several other key features that didn't make it through to the latest version of Pages - unclear whether these make the application unusable in our production environment or not.
    What is most frustrating is that the new Pages finally has proper RTL support (which we've been wanting for ages)... aaagh!
    But at least we were just about to create a new set of templates, so maybe we use this as 'final nail in coffin' and invest this time in another app - I guess NeoOffice is the most likely candidate, as MS Office (on OSX) still does not support RTL in any sensible fashion.

  • Adding a template style page in Pages 5

    Can anyone help me please?
    I have upgraded to Pages 5.0 and not only are there far fewer interesting templates for me to start working from (I am looking particularly in the Newsletters section) but I am also having a problem adding template styled pages to a new project.
    Previously I simply clicked on Insert > Pages in the menu and then selected the layout. I can't seem to find how to do this in 5.0 - all I can do is create a blank section.
    I'm sure I must be missing something really obvious but I can't figure out what it is!
    Regards, Peter
    PS is there any way to upgrade to Pages 5.0 but not lose the decent (interesting) templates? I'm a school teacher and the kids love having interesting templates to start with - these new ones are terrible!

    The lack of page/section styles was one of the first features I noticed missing in Pages 5.0. This is really disappointing for me as I've created a number of my own document templates and have made extensive use of page/section styles.
    On one hand I can understand why Apple may have removed this feature. It is rather an anomaly among its peers. Microsoft Word does not use page/section styles and to some users it could be a bit of a confusing  feature in Pages. I know for me it was somewhat confusing at first. I was used to the MS Word way of doing things and I was wondering how these section style templates differed from me just setting my own section style. But then I figured out that it is like a slide template in Keynote. It is simply a template and can be used as a shortcut to setup a new document section in a standard style. Since figuring out how to use the page/section styles, it has been awesome and has been one of the key reasons I like Pages better than Word and why I switched completely from Word to Pages.
    For now, I guess I will have to figure out how to work without it which will basically mean that I will have to go back to the old manual method of just copying and pasting section styles. It will take longer to add new sections with identical styles to a document and will be more buggy. It is likely that I will not always get it exactly correctly which will result in consistency issues in my documents. As well, the inability to copy and paste whole pages/sections from the page thumbnails will make this process take even longer and be even more buggy. But ultimately it is doable.
    I can only hope that the page/section templates is a feature that Apple will bring back very soon. I wish someone from Apple would at least let us know if this feature will be making its way back in or if it is gone for good. Accordingly, we could move on or plan for its return.

  • Templates from Pages disappeared?

    I created a newsletter last October using a template from Pages and it was awesome. Now I'm trying to create another one and there are only 4 templates for newsletter. What happened to the rest that I saw in October? Did I lose them after upgrading to OS Mavericks? Where do I find them again?

    Your version of Pages '08/'09 was upgraded to Pages 5.
    Apple has removed over 90 features from Pages 5. Because Pages 5 can not do much of what was in Pages '09, Apple removed 2/3rds of the templates in Pages 5 and simplified the rest.
    http://www.freeforum101.com/iworktipsntrick/viewforum.php?f=22&sid=3527487677f0c 6fa05b6297cd00f8eb9&mforum=iworktipsntrick
    If you had Pages '09 before, it should still be in your Applications/iWork folder.
    Archive/trash Pages 5, after Exporting your files to Pages '09, and rate/review it in the App Store, then get back to work.
    Peter

Maybe you are looking for

  • Authentication error while logging in to analytics url

    Hi, I have installed OBIEE 11g on Windows XP 64 bit server recently. I'm unable to login to analytics page "http://xxxxxx:7001/analytics"/"http://xxxxxx:9704/analytics"  But  able to login to enterprise manager('http://xxxxxx:7001/em')and console . I

  • P67A-GD65 BIOS Recovery/Reflash...is it even possible?

    Had a weird issue take out my P67A-GD65 last week so I replaced it with a Z77A-GD65. However, I'd like to see if it's possible to recover/reflash the corrupted BIOS on the dead board before I break the board up and make keychain fobs from the shiny b

  • Build applicatio​n error

    i am now getting a build application error.  i tried a vi that had been build previously, stilll get the error.  the program runs ok in labview. Problem Description : Hello, i never had a problem 'building application' before. now i get an error and

  • HT201269 Transfer contacts and BBm information from My blackberry to new Iphone 5S. How can we do it?

    Hi, Ned to transfer my contacts and BBM contacts from Bold 5 to new Iphone 5S. Please advise.

  • What does Usng do?

    I've recorded actions using the scriptlistener, but I need to make the resulting script somewhat dynamic (because the images are not all the same size), so I actually need to understand what is going on. In order to do so, I made to code readble and