I came across this site in alfresco discussing publish/subscribe notifications within alfresco and was wondering if there were any progress on it or someone had created an add-on
http://wiki.alfresco.com/wiki/Publish_Subscribe_Content_Notifications
Only type of notification I've read thus far from the wiki or forums is email or using rss feeds. The CMIS specifications does not encompass this and alfresco web services does not include any such methods.
We have several web applications that need to download content once a document has been uploaded and transformed in alfresco. I could develop an action to push the documents to the appropriate app, but that would require me to know every endpoint. At this point there are only 3 application but there are requirements to add additional ones in the future. Having a publisher/subscriber model would make the solution more scalable and easy maintenance in the future
What if you wrote a custom action that adds a message to a queue. You could have the queue/topic name configurable so that when someone configures a rule on a folder, they can specify which queue to put the message on. Your apps can then subscribe to the queue and act appropriately.
You could also do something similar as a step in a workflow.
Maybe the message would be something simple like the nodeRef or the CMIS object ID.
Related
I want to manage my inbound emails in Alfresco the same way demonstrated in the next picture or more detailed in this video
How can I do that?
I'm using Alfresco 6.2 community.
You've embedded a video of a demo for a custom solution called Alfea Correspondence Management. So the short answer is that you should contact the vendor to see if it is still available, inquire about pricing, then install it, and you're done.
If you cannot acquire the solution from that vendor and you have to implement this yourself it will take more work than can or should be described here.
At a very basic level, Alfresco can be configured to accept inbound email. But this requires senders to add Alfresco to the recipient list. Once the objects are in the repository, they are like any other nodes, so they can be queried against and presented in custom dashlets, like the one shown in your video.
I suspect the solution the vendor is showing will do more than just accept inbound emails. All of that functionality would have to be developed custom if you cannot acquire it from the vendor.
Background:
Xamrin Forms Client App
Azure backend with Dot Net
Using Azure offline data sync
trying to use Azure offline File Sync
Related SO questions
there have been 2 more questions I asked here which are somewhat related
Getting a 404 while using Azure File Sync
Getting a 500 while using Azure File Sync
Solution
As stated above in the first link, I had to create a storage controller for the User entity to be able to successfully login even though I do not intend to use Files for Users.
As I work further in the app, I am still getting more 404 errors as I can see in fiddler. These are similar calls which are looking to access an API like below
GET /tables/{EntityName}/{Id}/MobileServiceFiles HTTP/1.1
My Question Now
Do I need a storage controller for every entity I have in my solution? may be every entity that inherits from EntityData?
Is there a way I can selectively tell the system which entities are going to work with files & have storage controllers only for them? Like, may be, marking them with some Attribute?
Reference
I am using this blog post to implement Azure File Sync in my app.
To answer my own query (and not the answer I wanted to hear) YES. We need a Storage controller for all entities, even if they don't have any files to be stored in Storage account. This is a limitation.
Found this info on comments of the original blog I was following (I wish I did it earlier), to quote the author
Donna Malayeri [donnam#MSFT] Chris • 2 months ago
It's a limitation of the current storage SDK that you can't specify which tables have files. See this GitHub issue: https://github.com/Azure/azure...
As a workaround, you have to make your own file sync trigger factory.
Here's a sample: https://github.com/azure-appse...
The reason the SDK calls Get/Delete for files in the storage
controller is because the server manages the mapping from record to
container or blob name. You wouldn't necessarily want to give the
client access to the blob account to access arbitrary files or
containers, for instance. In the case of delete, the server doesn't
even need to give out a SAS token with delete permissions, since it
can just authenticate the user and do the delete itself.
We want to create user on plone from my java application, so how do I do that?
Have gone through https://github.com/plone/plone.restapi, but have not getting clear view.
I want to use REST client in java which can call on plone to create, update, delete, get user.
So can I get any example how to manipulate Plone users from my java application?
There is also availability of Json API, XML-RPC,Plone API(not suitable in our java app) but again for user manipulation it won't suits our requirements.
Thanks.
plone.restapi is still in pre-alpha stage, therefore not all features have been implemented. Unfortunately there is not user/group endpoint yet.
If you need one now I'd recommend to create your own with plone.rest. Or even better create a pull request for plone.restapi, so we can include it in the upcoming release.
I created a feature request on the repo where we can keep track of the progress:
https://github.com/plone/plone.restapi/issues/120
UPDATE: I implemented a basic #users endpoint:
https://github.com/plone/plone.restapi/pull/121
I want to integrate Marketo api with my .net project.
My client has given a username & password to Marketo. I want to retrieve "opportunities" from Marketo. I have written code for that. Currently there are not any opportunities so I'm not able to test my code. Has anyone an idea how to create opportunities in Marketo so I can whetehr check my code is retrieving that records or not?
Opportunities are not visible as standalone entities in Marketo as they are in SFDC or other CRMs. Rather, as #joev said, you have to find a lead that has an opportunity and view the opportunity details within the context of that lead's detail view, on the Opportunity tab.
If you want to use the GUI to create an opportunity, the right place to do that would be in the CRM — not in Marketo.
You need to have create/update right via API, ask your client for create/update rights then you will be able to create some data through API itself.
Like other people have mentioned there isn't a direct GUI inside Marketo for creating opportunities. These are typically created via the CRM (aka Salesforce, NetSuite, Microsoft Dynamics, etc...) and then sync'd to Marketo.
If you want to test it and have no CRM available -- technically you can just use the REST API to sync your own opportunity to a lead. Once done you could login to Marketo to visually validate it. Then now that you have an opportunity created you could then use the API to GET the opportunities and further validate your integration.
Here is a link to Marketo's documentation on how to sync an opportunity to Marketo. Also on that page is the documentation on the other REST API options.
I'm working on a Java console application that needs to go through all the e-mailaddresses in the frontend database in Tridion Outbound E-mail 2011 and change a certain extended field of that contact.
I've gone through the Subscription API documentation for clues on how to get a listing of all the e-mailaddresses, but I'm getting stuck there. Is there any clean way to do this through the API, without resorting to database queries?
It is not possible to get a list of Contacts using the Subscription API. It is meant primarily for working with single Contacts, who update their profile on your website.
For bulk management of Contacts, you should use Tridion.AudienceManagement.API on your Content Management server instead. The changes will then be synchronized to all of your websites.
You should not change anything directly in the database, as you will get issues with synchronization.