Using AngularJS with Adobe CQ

Has anyone else tried creating single-page applications with AngularJS and Adobe CQ? I'm finding the combination difficult to work with when trying to keep the advantages of the CQ authoring tool. I'm hoping that someone here can relate some of their best practices.
In a nutshell, here is the conundrum I'm running into.
I'm using AngularJS routes to pull "partial" pages into a view. This is working properly in CQ at the moment, using a set of components, one per partial, linked to a super resource type and template which are emtpy. I have pages declared for each partial in the site tool, and their resourceType is declared properly. The end result is each partial is being pulled without any unnecessary header/footer information being added. That's all good. The problem comes when viewing the site in the authoring tool.
The way it's set up is that I have a main template component which draws the site header and footer, including all the script and style tags, then includes a parsys in the middle of the page. Into that parsys I've dropped an instance of a component I created that i'm calling "angularview". It contains nothing but:
<div data-ng-view></div>
Those familiar with angular will recognize this as a simple view declaration. This is the container tag for angular to drop the currently selected view into based on the route configuration.
The way this renders on screen is a header, a blank section, and a footer. All the sub-component partials used by AnguarJS are hidden from the author, and I see no way to obvious way to present them.
The only thing I've been able to think of is to add dialogs for each of the partials so that they appear in the sidekick, then create a dummy page in which I drop all the partials. Maybe I could just code them in using <cq:component>, then declare each partial as a container component? This is where I'm hoping someone can offer some advice. What's the best way to go here?

Hello,
Welcome to MSDN forum.
Your issue is out of support range of VS General Question forum which mainly discusses
the usage of Visual Studio IDE such as WPF & SL designer, Visual Studio Guidance Automation Toolkit, Developer Documentation and Help System
and Visual Studio Editor.
Because you are working with ASP.NET Web Application, I suggest that you can consult your issue on ASP.NET forum:
http://forums.asp.net/
 for better solution and support.
Best regards,
We are trying to better understand customer views on social support experience, so your participation in this interview project would be greatly appreciated if you have time. Thanks for helping make community forums a great place.
Click
HERE to participate the survey.

Similar Messages

  • Is it legal to buy a used laptop with Adobe software on it?

    I'm thinking about buying a used laptop with Adobe CS5 Master Collection on it.
    Would I be able to use this software if I wasn't the original purchaser?
    How does licensing work in a situation like this?

    Hi Darryl,
    Provided it isn't an Education version (which are non-transferrable with Adobe), plus if you meet the other criteria for a license transfer, then it could be possible to legally do it.

  • Is OnLocation available with CC service? I want to use it with Adobe Story.

    Is OnLocation available with CC service? I want to use it with Adobe Story.
    I have never had a copy of OnLocation, but it looks to be a great way to manage Adobe Story and the workflow for shoots.
    Is there something else that is exports to that works similar to OnLocation?
    help

    I see that I can view Adobe Story in two locations of Premiere Pro. As a window and under File, Adobe Story (which is usually grayed out).
    I have exported the script as an .astx, Opened PP and clicked file, Adobe Story, Attach Script File ; then I am not sure what to do to see it.
    I clicked on Metadata but there is nothing there.
    The Window, Adobe Story shows dialog and scene no. and est duration. Is that all I should see? Why the Attach Script File option? And what about seeing the schedule?
    Thx Troy

  • Using Aperture with Adobe Bridge: Can It Work?

    I have used all the Adobe apps for ages and love them.
    Photoshop and Bridge are a mainstay of our studio operation here.
    I have been using Adobe LightRoom lately to deal with my RAW shooting.
    I take it to a certain point with LR then I use Bridge to do other things with my files. LR and Bridge can see eachother's metadata and XMP info so they can be opened back and forth between the apps as need be.
    This is critical for our work process.
    What Im wondering is can Aperture be used in a similar way?
    Can Bridge see Aperture's adjustment info and visa versa?
    Do they read eachother's Metadata and or XMP info?
    Does Aperture even use XMP data?
    Reason Im asking this is I admire Aperture's interface and functionality.
    I'd like to possibly use it in place of LightRoom for dealing with my RAW files.
    But without the compatibility with Bridge it wouldnt work for us.
    I read lots of Mac and Adobe publications and have yet to see this issue addressed in any articles.
    Surely other people are in the same boat as me on this one...
    Anyone have any knowledge to share on this matter?
    Thanks.

    Bridge and LightRoom can see each other's image adjustments because they are using almost exactly the same engine to do RAW conversions. Aperture and Bridge won't understand each other's image adjustments, in just the same way that Bridge and Nikon Capture, Canon DPP, Bibble or Capture One etc. can't.
    When it comes to metadata you won't be much better off, as any changes you made in Bridge wouldn't be seen in Aperture unless you re-imported the file and vice-versa.
    Basically, if your workflow is based around Bridge you are stuck with Adobe apps as they are the only ones designed to work with it.
    Ian

  • Using Acrobat with Adobe Drive

    I am exploring using Acrobat professional with Adobe Drive 2.1. I have not seen an explict statement that Acrobat can use Adobe drive.
    Here are my questions:
    1. Can Acrobat 9 or 10 interact with Adobe Drive 2.1?
    2. Are there any Acrobat limitations to using the exposed Adobe Drive 2.1 CMIS functionality?
    Thanks
    Tom

    FatMac>MacPro is correct about using Preview to read PDF's. It is built in, reliable and kept up to date by Apple software updates.
    Adobe Reader has had vulnerabilities that can cause your Mac to be attacked via malicious PDF's. Keeping Reader up to date is essential for good security, however Adobe updaters nag so much that it is simpler to avoid installing it if at all possible.
    PC users recommend it because they had no PDF support for so long, OS X has always had PDF support from Apple.

  • Using Peerjs with Adobe InDesign

    Hy,
    I'm creating my own InDesign PlugIn and I need to connect to another web application I created. I tried using socket.io, but I didn't want to have another server, so I have passed to Peer JS, in this way I have a peer to peer system that would work perfectly, but I met some unexpected problems.
    I'm working with Adobe InDesign CC, that uses CEP5, which has support for google chrome BROWSER (CEF (Chromium extended framework )).
    In the Docs it's said that CEP5 has support even for WebRTC but when I try to connect with peerjs (wich uses WebRTC) to another peer I get a :"TypeError: undefined is not a function", under further investigation I discovered that the error is thrown by Object.Negotiator._startPeerConnection, but I can't understand what I'm getting wrong...
    I tried using the same PEER JS code in another application(just a normal web site) and connecting to the same peer and was successfull, so I'm guessing that the problem is the in WebRTC support provided by InDesign.
    I am not confined to using PEER JS, I just want my adobe plugin and my site to communicate in the most intelligent way possible, so any idea is welcome, however this is the piece of code of my plugin where I try to connect to the PEERJS
        var peer = new Peer({key: mySecretKey});
        var conn = peer.connect('editor-vaComeVibraEEE');//the exception is     generated here
        conn.on('open', function(){
            conn.send('hi!');
    Thank's for the help... . . .

    I do know next to nothing about CEP5.
    Just a question: Why do you try to escape "/" in the string "editor-vaCome\/ibraEEE" ?
    At least this is my guess what you want to do here…
    If you want to feed the argument string "editor-vaComet/ibraEEE" to peer.connect() you cannot "escape" that slash… At least not in terms of ExtendScript.
    Uwe

  • Using Uberconference with Adobe Connect

    Hi Everyone
    I have been beating my head against the ball trying to set up Uberconference to work with Adobe Connector.
    I have tried to set it up as an Audio Provider -- but I just can't figure out how to set up the dial-in steps properly.
    Has anyone out there used Uberconference -- or any other 3rd party audio conferencing provider -- successfully.
    Help is much appreciated!
    Greg

    The dial in process would be exactly the same as if you were dialing into the bridge as a participant. Most of the time it needs the following steps.
    Phone number:           800-555-5555
    Delay:                        3000 ms
    DTMF: (passcode)     123456#
    Delay:                        3000ms
    DTMF:                      1 or # (for a roll call or to join the bridge)
    However if the provider is not using a SIP compliant bridge, the Universal Voice tool will fail upon attempting to dial out.
    Also, for the hosted environment, the phone bridge must have a toll-free number.

  • Using IX500 with adobe?

    How can I use the Fujitsu snapscan ix500 scanner with Adobe Acrobat XI?

    The dial in process would be exactly the same as if you were dialing into the bridge as a participant. Most of the time it needs the following steps.
    Phone number:           800-555-5555
    Delay:                        3000 ms
    DTMF: (passcode)     123456#
    Delay:                        3000ms
    DTMF:                      1 or # (for a roll call or to join the bridge)
    However if the provider is not using a SIP compliant bridge, the Universal Voice tool will fail upon attempting to dial out.
    Also, for the hosted environment, the phone bridge must have a toll-free number.

  • Using Filemaker with Adobe Illustrator for Book Project

    Hi All,
    I have a database of musical works contained inside a Filemaker Pro database - it's a mixture of images and text.
    I'd like to make a book with the content and was hoping to use a template within Adobe illustrator and pull the data in dynamically from Filemaker.
    Is Illustrator the right tool for this? I can't find many links or articles.
    Any advice at all on using Filemaker to generate book content much appreciated.
    Thanks
    Antknee

    I don't really want to post screenshots here of a proprietary solution. But here's a description of a similar FMP-based "publishing" solution:
    You have a layout for end-users' main browsing. Similar-looking layouts are used for data entry, but include administrative functions, fields, and flags which expedite content creation, but are not meant for end-users. Typical FMP stuff. But now you take it to the next step:
    You build a Report Layout specifically sized and formatted for printing and/or exporting to PDF. You use the FMP tools for object sliding; use Container Fields and/or WebViewer objects for illustrations; use the Merge Field function and/or text Calculation Fields to format text content from multiple data fields. You can overlap fields, so having a container field in the background is simple.
    You basically ignore the "publish" Layout as you create, edit, and work with data. But it's always there, and is always "already built and populated." Whenever you want to publish a print version catalog for a particular product, you just launch an FMP script which automatically:
    Prompts you for the desired set of records (product model, chapter, category, etc.)
    Performs the necessary find and sort.
    Creates a table of contents. (Based on another print-formatted Report Layout.)
    Exports the TOC as a PDF. (Typically a dozen or so pages.)
    Exports the content pages as a separate PDF. (Several hundred pages is no problem.)
    In a few minutes, you have an updated print-ready book.
    You open the Content PDF in Acroat Pro, insert the pages from the TOC PDF in the front of it, and send it to your on-demand printing outsource. The end result is a perfect-bound manual, without ever having jumped through hoops to dump data into a conventinal-wisdom page-layout app.
    So this one FMP solution:
    Is used for data entry.
    Serves as a live internal reference tool served on FMPSA.
    Serves as a data export and data analysis tool.
    Can be bound as a fully-functional standalone runtime application.
    Is web-deliverable via FMPSA's IWP.
    Is web-deliverable as a web site's "backend data" via PHP.
    Serves as the "publishing platform" for print-ready and/or web-delivered PDF-based catalogs.
    Vector drawings are created in Illustrator, Draw, CAD software, or whatever, and saved as vector PDFs in a folder acessible to the FMP database. The PDFs are named according to a record's unique identifier field (primary key).
    You launch Acrobat Pro and run a Batch operation which opens the folder full of PDFs and batch-exports them to an adjacent PNGs folder. The PNGs are exported to the correct size for the Container Field(s) on the print Layout. (Optionally, another Container Field on the browsing Layout displays PDF icons which are links to the PDFs for when a user needs a scaleable, zoomable vector version.) During data entry, each time a new record is created or edited, a scripted button imports both the PNG and the PDF with a click; or batch-imports the images for all records at once.
    One could just as easily build a layout and script the solution to create and send HTML-formatted emails of a found page or set of pages.
    Like an XML / InDesign solution, FMP effectively figures out for you how many pages are needed for the length of the TOC, and the length of the parts list that accompanies each illustration and creates and numbers them; and it does so without any need for mucking around with XML.
    So in this workflow, FileMaker Pro itself is serving as the "page layout" app. All that's sacrificed is high-end printing and exacting typography; which for many practical purposes today is becomming increasingly unnecssary.
    The underlying concept herein is "FileMaker and PDF"; not "FileMaker and Illustrator." (Use any graphics program you want that can render to common RGB raster formats and/or PDF).  And it's "let FileMaker automate the page assembly" instead of XML / InDesign. Just keep the page design within the capabilities of a FileMaker Layout.
    JET

  • Using OCR with adobe 8.0

    hello,
    first of all let me say that I am new to adobe, but I did search the site and index under help.
    I have adobe running on windows vista. I can scan a document and choose the "use OCR" feature. there is a progress bar on the lower right hand side of the screen while the program searches the document, but then nothing happens. I'm looking at the document as it was before I ran OCR!
    how do I see what the program got out of it?
    is it supposed to change the screen your looking at into what it saw?
    does it save it somewhere else? if so, how do I access it?
    It's probably a simple thing, but I can't figure it out!
    thanks for any help with this topic.
    L

    When you use OCR, you can choose the output style.
    "Searchable image", the default, will not change the visual appearance
    in any way. It puts the OCR characters invisibly on the page so you
    can search/copy.
    "Formatted text and graphics" however deletes the image and leaves
    only the text.
    Aandi Inston

  • Using scanner with Adobe 8

    I am a teacher with a 10 year old student. She has an incredible IQ but has very poor eyesight. Is it possible to scan textbooks into Adobe and then enlarge the print size for printing? I am using Adobe 8 plus vista. If yes, can you tell me how?
    If you can help please contact [email protected]

    The student may be eligible to help with the eyesight is poor enough to
    be considered a disability. The school district or the school may be
    responsible of providing the needed materials in an appropriate form.
    Many texts are available as pdfs (from the publisher), then Acrobat's
    reading/speaking technologies could be used with the pdf text.
    Mike

  • Can I use Flex with Adobe Media Encoder to automate encoding?

    I am thinking about learning Flex assuming I can do the following.
    Can I use Flex to automate the process of converting/encoding videos from many formats to FLV format?
    If so, what encoder do I use for this process? Flash media encoder?
    Can Flash Media Encoder interface with Flex (PHP/XML/ActionScript) to automatically with presets configuered convert/encode videos that have been uploaded and placed into a folder into FLV format?
    Thanks.

    Guys,
    I have developed a simple script ( batch file  *.bat)) that will  check if encoding is still being done ( every 60+ secs ) and if the process is over, it will shutdown the  PC. I tried to keep the code very very simple so that others can improve it.
    For now , i have tested this on Windows 7 SP1 -  64 bits  and it wokrs well.
    Here is the code, copy  and paste it into notepad - i named it AutoPowerOff-AdobeMediaEnCoder.bat
    ..........copy code below ..........
    @echo off
    echo.
    date /t
    time /t
    echo.
    :StartMonitoring
    echo.
    echo.
    echo.
    color 0f
    echo Start monitoring Adobe Media Encoding Process
    echo Check every 60 secs via KeepMonitoring
    ping 127.0.0.1 -n 60 > nul
    Goto Check
    :KeepMonitoring
    echo.
    echo.
    echo.
    color 0f
    echo Continue Monitoring Adobe Media Encoding Process - every 60s
    ping 127.0.0.1 -n 60 > nul
    Goto Check
    :Check
    echo.
    echo.
    echo.
    color 0e
    echo Checking If Encoding Process Over ?
    echo.
    echo.
    color 0a
    tasklist | find /i "PProHeadless.exe"
    IF ERRORLEVEL 1 GOTO AutoPowerOFF
    IF ERRORLEVEL 0 echo. && echo Encoding Still In Progress && GOTO KeepMonitoring
    :AutoPowerOFF
    echo.
    echo.
    echo.
    color 0c
    echo Process  PProHeadless.exe does not exist anymore
    echo Assume Encoding DONE
    echo PC Poweroff Initiated
    echo.
    echo.
    echo ShutDown PC After 60 sec
      shutdown /s /t 60
    :END
    ....... end of code ..............
    If some of you can check it out on other platforms and report back, i can maintain this thread.
    Regards,
    Marco.

  • Why must I use Safari with Adobe Reader X?

    I operate a Mac (OS X 10.6.8) and I prefer Firefox over Safari. For years I have used Adobe Reader 9 with Firefox (6.0.2) and have had no trouble. Now I download Reader X and it demands Safari. So what must I do? Return to Safari (do not like it!) or return to Reader 9, which, incidentally, does not work on Firefox NOW! Why? Is Firefox bad news or something? If anyone out there in cyberland can help, thanks.

    And yes i can open by the programm itself directly, but i have no idea how to correct the file association then....

  • Using firefox with adobe pro x. pdf files open to a blank white screen.  any ideas?

    I am using a maco air with firefox.  I am using Abode Acrobat Pro X.  When I try to open pdf documents, i get a blank white screen.  Just started happening about two weeks ago.   What is the solution??

    Moving this discussion to the Creative Cloud Download & Install forum.
    Greg please see Creative Cloud app doesn't open and hangs on spinning progress wheel - http://helpx.adobe.com/creative-cloud/kb/creative-cloud-app-doesnt-open.html for information on how to resolve your current error.

  • IPhoto With Adobe Elements Or CS4

    I'm trying to use iPhoto with Adobe Elements (and/or CS4) as my default editor.
    I have the files in RAW / NEF format and I click to edit in external editor.
    My goal is to save the changes I've made back into iPhoto (overwriting my old version) without saving it as an external file and reimporting it in.
    I read on an IPhoto site this;
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    Unfortunately, this doesn't seem to work.
    When I save the file, it saves a JPEG version in the iPhoto directory, but it doesn't show up when I go back to iPhoto.  I'm also wondering why I can't save it back as a NEF file (shouldn't I do that since it's a RAW image to start)?
    What's the proper way to work with iPhoto and Photoshop?
    I know there are purists that seem to push to use Bridge, but i've grown to like iPhoto's features, tagging, etc.   How can I do this?
    Thanks..    

    This might be of some help:
    Using Photoshop (or Photoshop Elements) as Your Editor of Choice in iPhoto.
    1 - select Photoshop as your editor of choice in iPhoto's General Preference Section's under the "Edit photo:" menu.
    Click to view full size
    2 - double click on the thumbnail in iPhoto to open it in Photoshop. When you're finished editing click on the Save button. If you immediately get the JPEG Options window make your selection (Baseline standard seems to be the most compatible jpeg format) and click on the OK button. Your done.
    3 - however, if you get the navigation window
    Click to view full size
    that indicates that PS wants to save it as a PS formatted file. You'll need to either select JPEG from the menu and save (top image) or click on the desktop in the Navigation window (bottom image) and save it to the desktop for importing as a new photo.
    This method will let iPhoto know that the photo has been editied and will update the thumbnail file to reflect the edit..
    NOTE: With Photoshop Elements 9 the Saving File preferences should be configured as shown:
    Click to view full sizes
    I also suggest the Maximize PSD File Compatabilty be set to Always.
    In PSE’s General preference pane set the Color Picker to Apple as shown:
    Click to view full size
    NOTE: If you want to use both iPhoto's editing mode and PS without having to go back and forth to the Preference pane, once you've selected PS as your editor of choice, reset the Preferences back to "Open in main window". That will let you either edit in iPhoto (double click on the thumbnail) or in PS (Control-click on the thumbnail and seledt "Edit in external editor" in the Contextual menu). This way you get the best of both worlds.
    OT

Maybe you are looking for