I've added test application then created graph action "XXXXX" in that app, then I deleted that application and created new one and tryed to add the same action (cos the action deleted with app I guess) the system did not allow me to add the action and showed me an error that I've already created that action. So I can neither use the action nor create new one.
Can someone help me in this ?
Related
I have a Google Document that has a custom UI menu with an option to add a new page to the Doc and populate it with some data. I use this Doc as template for creating numerous other Docs for a single user via webapp.
So my user comes to my webapp, clicks to generate this Document, the document is created from the aforementioned template Doc (containing the bound script to allow the user to add more pages with additional data). The user clicks in the custom menu to create a new page, and before that chunk of code is executed, he gets the 'Authorization Required' screen. I've already prepared him for this so he know how to proceed - no big deal. he goes on to use the Document for his tasks and closes it when he's finished.
He now needs to generate a new Document from the same template and add additional pages just as before. Once again, he gets the 'Authorization Required' screen. Now he's thinking 'I just authorized this... what's gong on?' and is now confused.
Since these Docs are generated on the fly from within the webapp, I have no way to go in and authorize anything but the script in the template before the user gets to it. But is there really no way to authorize that script in the template doc and have it carry over to all the new docs created from it?
Instead of including the code as a bounded project publish it as an add-on. This way the user only will have to authorize the code once.
Related
How to avoid re-authorization request for a copied Google Spreadsheet + script
I am designing an integration process where my Plone 4 site can share objects and content with other systems when a user decides to publish an object to remote servers. One of the first steps towards making this a reality is adding a "Remote Publish" CMF action off of an ATFolder for instance. I did this in the portal_actions tool provided in the ZMI. I set the URL expression to ${globals_view/getCurrentFolderUrl}/publish.
Now I understand that I need to register the action somewhere to get it to present a form that asks for the remote server address that handles the web service calls. How do I build and send a POST REQUEST with the folder object's new properties and children when the user has clicked the new "Remote Publish" button?
You need to split this problem to subproblems and solve each individually
How to customize Plone
http://developer.plone.org/getstarted/index.html
How to add actions to content items
https://developer.plone.org/functionality/actions.html
How to create a form which asks for a remote server address and where you can program Python logic
http://developer.plone.org/reference_manuals/external/plone.app.dexterity/schema-driven-forms/index.html and https://developer.plone.org/forms/z3c.form.html
How to read folder and object content in Plone
http://developer.plone.org/content/listing.html
http://developer.plone.org/content/archetypes/fields.html#accessing-archetypes-field-value
How to create a POST request in Python
http://docs.python-requests.org/
How to make remote server to handle the incoming request
[not part of the question]
Unless you do not have enough Python and Plone experience this is quite big question to tackle. To solve this problem I suggest you create a new sub-question for every part and solve them independently.
I try manage entitites in video.wants_to_watch, if this entities created in my app all ok. But if I added some movie from facebook web page, I can't remove them. I recieve this error:
"(#10) User cannot delete action"
In https://graph.facebook.com/me/video.wants_to_watch I see movies, what I added from facebook web page, created with "Movies" application. So the question is how I can delete action created in Movies app with my custom app.
Thanks for help.
You cannot as is the case with any object added that is not added by your application.
e.g. you cannot delete pictures not posted from your application.
It's to prevent rogue apps running amok messing with data they don't own.
I followed the guide on creating action links here: https://developers.facebook.com/docs/opengraph/actionlinks/
However, when I'm testing them with a new facebook app that I created it is not displaying the test action link. Is there some secret to making these work that is not included in the guide, or am I just rather unlucky?
Jesse, non-https action links should still be visible to developers, with an error message shown on the link itself.
I'm trying to invoke a Task UI in Siebel 8 and don't get anywhere.
I've added a button to an applet, with Method Invoked "LaunchTask" and
the following Control User Prop:
Name: Task Name
Value:
That button doesn't even show up in the UI. When I change the Method
Invoked to something else the button is displayed.
Does anybody have an idea why the button is not shown?
I've activated and deployed the task, and am running this on the
dedicated client against my local database.
I also tried invoking the Task from an applet server script, as
described in the bookshelf. That crashes the Siebel client.
Any help will be appreciated.
Thanks,
Thomas
Hm, I found the problem.
My responsibility didn't have access to the Task.
Problem solved.
Syntax to invoke from Button, Method Invoked should be "TaskLaunch".
Please update the method invoked and try it.