How to create a new psml page? - portlet

I've encountered a .psml page in a portlet app and I don't know how it was created. There exists no physical file for the .psml page. In jetspeed is it possible to create a page via portlet UI, if so how is this achieved ?

Yes you can create a page in JetSpeed through the UI. To do this
Log in using your administrator account.
Click 'edit' (the little pencil icon that shows on each page)
You will see the Page, Folder and Layout configuration on that page.
My understanding is that .psml files are supposed to live inside the pages folder in your Jetspeed home.
Interestingly though, you say your .psml page is inside your app. I am not sure why this would be. If this is the case, perhaps the page was put there by accident?

Related

Not able to unlock the AEM page in AEM6.2 for custom template

I am not able to unlock the page in touch UI editor. Created simple template and page component. There is no code inside the jsp . I am able to lock the page but when trying to unlock page, getting JS in console(please see attached scree shot). It is working fine with geometric template,
Step to produce.
create simple template and component as below
create a page out of this template
open the in touch ui mode.
lock the page
Now try to unlock the below. see the console by pressing f12. below error is displaying.
Try to see first the error.log located in your environment, for instance: AUTHOR_INSTANCE_DIR/crx-quickstart/logs/error.log.
This may provide more information about the issue. You should validate that you are logged in as an admin or at least you are the owner of lock, you can do this by going to the CRXDE Lite, and in the jcr:content node of your page you have to see jcr:lockOwner property with your username.

Facebook Tabs - Difference between apps vs tabs

I have recently inherited the Admin/developer role for our page and I am new to Facebook Development. I am attempting to add a new tab to our page and the only option I am getting is to build an App but all of the App options I come across make it sound like it's trying to do more than what I want it to do.
What I want to do is produce a tab on the page. That will link to an app/canvas displaying an image that the user can click to go to our offer.
So far I've built a basic app with Display Name, namespace, Page Tab Name, Page Tab URL and a Tab image. but when I refresh my page I do not get a new tab and when I preview the app page it is not the format I am looking for.
I've tried going through the tutorials but since this is all new to me I ahve yet to make any sense as to what I'm looking for or missing. Could anyone let me know what app format I am looking for? Or am I in the wrong place entirely?
You need to explicitly add an app to a page. Not sure if you've tried it or not but navigate to:
https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID
&display=popup&next=YOUR_PAGE_TAB_URL
Replacing YOUR_APP_ID with your app id and YOUR_PAGE_TAB_URL with the url you set for you page tab.

Linking your app to an EXISTING page

I've searched and searched and can't seem to find any info in regards to this...
We have a facebook page (facebook.com/companyname). We also have an app on facebook (apps.facebook.com/companyname). I can create a NEW community page from the app, but i cant link it to the existing page. How come? Is there any way to do so?
There's plenty of similiar questions and no one has had an answer yet.
Thanks for the help!
You should go to edit your page and change the category to Brands & Products and sub-category to App Page.
Then go to app details and select this page as app page.
#Muhammad Javeed - Thanks to you, I finally figured this out!
For those who need a little help, this was what I did.
Goto your existing Facebook Page
Click on 'Edit Page' button and select 'Edit Settings' from drop down menu.
Click on 'Page Info' on the settings page.
Click on 'Category' to expand selections.
Select 'Brands & Products' in 1st drop down and 'App Page' in the 2nd drop down.
Click 'Save Changes' and that's it.
Go back to your App Developer Page > App Details > Contact Info > App Page > Link to your Page.
Unless Facebook changes the menu/settings page dramatically, I can confirm this works!
I have done significant research into this. There is no way to do this (though it's such a common use case where someone already has an active fan page and launching an app later)
Earlier every app used to have a profile page (which was not like fan page) and facebook at the start of the year gave ever app admin to move their likes to another fan page. This option has been removed.
There is another way that I have discovered.
Create fan page for the app (from app details section) by clicking "Create Fan Page"
Goto pages and select this newly created fan page and rename it to be the same as the other active fan page(with which you initially wanted to link to). This is needed because merge option appear when 2 pages have same name and same category.
Goto your active (original) fan page, click edit page, goto resource and click on merge pages and do the marge.
However as someone has already reported, there is a bug in the system, on merging it removes the app link (something that will be fixed soon). Here is the link to the bug.
http://developers.facebook.com/bugs/413029272079414?browse=search_5033475a2a50c9f73780526
I tried the other answers but didn't worked for me.
What worked for my case is that I needed to make the name of the fb page & app's name match EXACTLY. And after making them the same I now see a dropdown and then selected the right fb page.
If you've linked them correctly you should see a new button called "Play Now" on your page, if its a game app.
Check it on this page
https://www.facebook.com/pages/4-Pics-1-Word-Tagalog/499833986805671
I fixed this issue by:
Choose only one App Page for the page Category
Go to https://developers.facebook.com/ Setting > Advanced, scroll down to the App, now you can see the button to choose the existing page
Create a second Page on App Advance Settings.
Now go to the other first Page Settings you have and Merge.
I have been struggling with this same issue. It appears that the name do not need to match entirely but at least the app name needs to start with (part of) the page name. I found this since the page name was longer than the allowed max name length of the app.
Paul
as on Nov 17th, 2017.
App page itself is a category, selecting this category would be the only option.
Also, Fb App name and Fb Page name must be the same for integrating existing page.
Are you talking about adding a tab for your app (apps.facebook.com/companyname) to your existing page (facebook.com/companyname)?
If so, then go to your page (facebook.com/companyname) and in the URL type in
"https://www.facebook.com/dialog/pagetab?app_id=[YOUR_APP_ID]&next=[YOUR_APP_CANVAS_URL]"
That should automatically direct to a form asking you which 'page' you would like to add a tab to. Select the page from the drop down list and click ok. That should redirect you to your app canvas url. Navigate back to your company page and see if the tab appears at the bottom of the list on the left hand side.
Cheers.

Facebook Tab on pages

Whats the best way to develop a tab on facebook in a facebook page with content inside it? Would it just be html within that tab?
Easiest way is to install a 3rd party iframe App on your Facebook Page. You can find these Apps by searching for "iframe" in Facebook's search. Once you have one of these Apps installed, you can customize the HTML/CSS/JS of the iframe, which will then be reflected on you Page Tab. Alternatively, you could create your own Facebook App and install it as an iframe in your Facebook Page. This will achieve the same thing, and may give you more control, but you will have to host the html/css/js files yourself and it will be more work.
I recently have the same need.
To just place a facebook tab containing just a static html with text and image.
Here are the steps. It can be quite a nightmare to review the documentation of Facebook since it is always in change.
In the home page, click in the settings button. There is a link "Create application". You have to be sure to be in the Facebook development section
In the Create Application home page. In the upper menu there is the button "Applications". Here will be listed all your applications. If this is the first time, again the button "Create a new app"
3.Enter the information requested. Name of the application, an identifier (I prefer the same display name without spaces) and choose a category.
As a security step, a captcha is shown. Just fill with the characters in the screen.
Since your tab is an html. You have to host this file in your own server in order to have a path. The first tricky thing here is to convert this file into a php, asp, or similar extension. since Facebook uses GET or POST protocol to send information. You have to ensure that your file understands this requests. So, your server must accept the corresponding programming language. Even if your tab doesn't have any real code.
The configuration of your app is shown in screen. In the left menu, the option "configuration" displays the options to activate your tab.
click "Add plattform" button and select Facebook tab
fill the information required with the corresponding URLs. Note: Facebook always requires secured URLs so make sure that your server or hosting service has the SSL certificate validated.
Upload the image of your tab to be shown in the home of your profile in your tab section.
ok, so far we are good. Now. This was a long search. There is no longer the "Add to my webpage" link anywhere. So use this link to access to that hidden link. here Basically you enter the facebook app id and the URL of the hosted file.
Then you select the facebook page where you want to link this tab. And that's it!
note: the alternative to the link is this: (https://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&next=YOUR_URL )
Hope this helps. It was a waste of time when I have to search for the details so I want to share this.

Facebook "Add to My Page" not there

I've made some facebook pages before, but I'm running in to a problem that I haven't had before. Usually, when someone asks me to dev a facebook page for them, it's linked to an account and all I have to do is add the developer app, make a few apps for the links on the side bar, then navigate to the apps I created and click 'add to my page'.
For some reason, this person today gave me their log-in and their account isn't really 'real' so-to-speak. I'm navigated to the page they created upon log-in and there is nothing else loaded, not even a search bar. I was able to add the developer app by navigating to Edit Info (search bar popped up). However I am unable to add any apps to this account. The 'Add to My Page' does not show up on any app pages I navigate to. Is this because the account doesn't really exist? There is a "Create Your Profile" link up near the Settings/Logout buttons.
Am I thinking about this wrong? Is there another way for me to add apps/sidebar tabs with an account like this?
I was thinking of telling the person to register the account fully since "If you create a profile for your business, your account may be disabled for violating our Terms of Use."
Let me know if any of you have any insight.
Thanks!
facebook changes as usual
try my "fix" # http://admine.eu/addapp.html
here is part of the source and actually all you need:
window.open(
"http://www.facebook.com/dialog/pagetab?app_id=" +
document.getElementById("appid").value +
"&next=" +
document.getElementById("appurl").value,
"PageTab","width=1000,height=300"
)
+document.getElementById("appid") is the id of your app
+document.getElementById("appurl") is the canvas or tab URL of your app
I run into this too. Sometimes as when a client adds me as an admin I have to like the app I made on its profile page then switch to page mode and go to edit the page>apps and it shows up in my list of apps.
If you have already added it once it may already be in that list as well but doesn't show up in the left navigation until you add it as a tab in the app settings while in Page mode.
I find that if there are more than 8 tabs in the navigation already FB won't automatically add it to the left nav.
-Ann
I've put together a javascript snippet that is intended to be used as a bookmarklet. If you use the bookmarklet while on an application's page in the developers section, a new window will automatically open with the add to page-dialog. To use it, just copy the minified code from the repository below and create a new bookmark for "javascript:[the code]" (without the quotation marks).
https://github.com/Wehrzie/Add-Facebook-Application-to-Page-Bookmarklet
Hopefully this will help some until Facebook cleans up their current, quite messy, solution.
Simple to use:
http://www.facebook.com/dialog/pagetab?app_id=APP_ID&next=http://www.facebook.com
More info about what's going on:
https://developers.facebook.com/blog/post/2012/02/01/how-to--migrate-your-app-profile-page/