Is not it possible to add a flex url to bookmarks. If not,Please let me know if any alternatives are there. Thank you.
There is a concept in Flex called deep linking.
You can read all about it in the docs.
You basically just need one class: the BrowserManager.
This class allows you to:
control the navigation history of your browser
set window titles for different states of your application
set specific URL's in your browser's URL bar for different states of your application
listen for changes in the browser's URL bar, so the state of the application can be changed accordingly
So you can have URL's like
http://www.myflexapp.com/#dashboard
http://www.myflexapp.com/#product/123
which can tell your application to display the right information.
Why is there a pound sign in the URL?
That's because we don't want to reload the entire application when the user changes the URL. So we stay on one page with the same app loaded; the part behind the pound signs is information that is being sent to the Flex app, which can change it's state according to this information.
You could look at: http://code.google.com/p/bookmarks-framework/
Related
Any way to hide the Page Navigator that appears on the top of every App Maker produced page? When you create your own custom menu system that navigates the site then there is no longer a need for the page navigator. Also, the naming convention on the pages are not exactly user friendly (not allowing spaces for example) so that makes the page navigator look more like a developer tool than an end-user one. And last but not least, the page navigator is redundant if you only have one page in your app.
You can show/hide page chooser by setting ?console= URL parameter to 1 or 0 correspondingly.
But as Morfinismo noticed, most likely you are looking for creating a deployment which you can share with your end users, configure permissions, etc., since only you can access your Preview deployment.
According to the docs, there should be a Dynamic Links domain for my project, which is displayed at the top of the Dynamic Links page. The docs have a screen capture like so:
Location of domain according to the Firebase documentation
However, on the Dynamic Links page for my project there is no such domain, at least not one I can see. Here is a screen shot (I've blacked out identifying info, there was no domain under the black square or circle!):
Screen shot of Dynamic Links page with no domain displayed
I've tried looking through settings and options in case there was some kind of toggle, but haven't found anything relevant.
Create a test link with whatever informations you want and you will have a complete link with your app domain like: app_code.app.goo.gl
I need to implement some pop-up dialogs in sitecore. The popups are used in an existing angular site and I would like to reuse as much as possible.
Use case: From a sitecore form activate the dialog, init the dialog with data from the sitecore field. If the user presses OK, then write back the new value to the site core field.
I know that sitecore has an IFrame type but I know that the browser will not allow me to write back to the parent window from a site in another domain.
So what options do I have?
It is possible to communicate cross iframes and cross domains by posting it between, see example here
I have a web site with number of pages, developing in asp.net.
I have a page URL's like:
example:
1) http://www.xyz.com/Home.aspx
2) http://www.xyz.com/Index.aspx
3) http://www.xyz.com/viewMember?Name=abc&id=1
But the end user is at any page, i would like to show the URL like "http://www.xyz.ie".
Is there any setting in web.config ? If not, is there any other way ?
Please help me...
Thanks in advance.
Jagadi
You can not keep one single URL for different page - but you can do some tricks to simulate it.
To make the url stay the same, but the content change, you need to make some trick.
I am not recommend, search engines they will not follow what you do and they show each page different, user can not make bookmark, and average user can easy find the real url of the page, even with one different click on the browser can find it.
One trick is to use frames, or iframes. On the main page you load all the rest inside an iframe, or inside a frame.
Second trick is to use ajax to load each other content.
And finally you can use session to know what to show on the user, user did not change links, but make post back that change the content.
My web-app records users via webcam and microphone. I want to use HTML/JS for the controls and content, so I created two separate Flex modules:
* A "Webcam Setup" module that lets you choose your camera and mic input devices
* A "record" module that lets the user record and submit the recording
When I embed either of these on the page, since they access the user's Camera/Mic object, Flash shows the Privacy dialog that says "[mysite] is requesting access to your camera and microphone. If you click Allow, you may be recorded."
The problem is, if I answer Yes in the Setup module, and later add the Record module to the page using Javascript, it again shows the Privacy dialog.
Is there a way to avoid the second privacy popup?
I would think that saying "Yes" for [mysite] would store that permission for at least that session, but apparently not.
What I've tried
I tried combining them into one SWF, adding it to the page once and moving the DOM element with jQuery's append() function when needed. When I move it, however, it reloads and asks me again.
Imagine if [mysite] was, say, blogger.com or livejournal.com (or, if it were still around, geocities.com). Would you want a "yes" response on that site to be good for every page under that domain?
Rememeber, just because you promise (cross your heart & hope to die) not to abuse the security hole you request, doesn't mean they can allow you to have that security hole.
Eventually, I found a usable workaround, similar to what I originally tried (above).
I combined the setup and record modules into one SWF. I first show the setup screen. When the user hits the Continue button on my page, Javascript calls a function in the SWF to swap to the Record screen.
I then move the <div> containing the Flash object to another location on page using absolute positioning, and resize the object.
Previously, I was trying to use jQuery's append() function to move the div within the DOM, and that was causing the SWF to reload. Just changing position and size does actually work.
You could build the "record" component to simply send and receive signals using an API you've created for your "setup" component (which has already been authorized, meaning one auth & two swfs) by using the LocalConnection class:
http://livedocs.adobe.com/flex/3/langref/flash/net/LocalConnection.html
This seems far closer to best practice than the other implementations mentioned, which smell a bit hacky and would probably confuse anyone who may inherit the codebase in the future.