I want to automate the backup of quire.io data. Essentially functionality offered via Export project data from the web browser.
I think it calls https://quire.io/r/export/project API.
Where can I find the documentation ? I assume it just requires some Auth header
Without that I need to jump thru the hoops to create JSON that is equivalent of the JSON created by Export JSON functionality already present
There is currently no api call available to do a full project export.
Feel free to post a feature request on the project page.
Related
I have been looking into connecting a Word Add-in to SharePoint list data using a task pane.
I have completed the following two tutorials that guide you through creating an add in that uses SSO to access user data and then update the add-in to get data from one drive instead.
https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/sso-quickstart
https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/sso-quickstart-customize
However, these tutorials have you edit the .ENV file with a new GRAPH_URL_SEGMENT and SCOPE etc, however I see no reference to how editing the ENV would actually effect anything, no code that makes use of this information and no details of when the call using the Graph api is actually made and what configuration it uses.
I have been able to get a call working to SharePoint in the graph explorer but cannot move that over to the word add-in.
Could someone please help me understand where the calls endpoint is used to make the Graph call and how someone would go about to change this to make a call to SharePoint.
The call to get Microsoft Graph data is in the library office-addin-sso. Specifically, the files \node_modules\office-addin-sso\src\app.ts and \node_modules\office-addin-sso\src\authRoute.ts
You will see in those files where the ENV variables are read.
To get your SharePoint data, use the URL you constructed in the Graph Explorer to set the GRAPH_URL_SEGMENT and the QUERY_PARAM_SEGMENT in the ENV file. Also, update the SCOPE variable in that file as needed. See the section https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/sso-quickstart-customize#changes-required-for-any-type-of-add-in for an example.
You will also need to update the permissions you request in the Azure portal as described in this section: https://learn.microsoft.com/en-us/office/dev/add-ins/quickstarts/sso-quickstart-customize#update-app-permissions-in-azure
I'm trying to understand the difference between the SP add-ins and SP Framework.
I need to refactor a Django app on SP online. The web app does the following:
Takes input from the user into a form (mostly y/n) questions
based on the responses generates a pdf document which is returned to the user plus a .docx document which is stored on SP (the end user has no access to the .docx)
Potentially sends an email to notify other stakeholders
Now, if I have to implement it on SP, I understand that the full logic will be in the client, while at the moment for example part of the logic runs in Python.
The form itself should not be an issue. I was wondering how to generate the pdf and the docx. Is that possible using SP workflows? Or should I use Power Automate? I mean, how to properly populate a HTML/word template and then convert it to Pdf if we have no access to server side code? Thanks
You can create a SharePoint Application using spfx framework https://learn.microsoft.com/en-us/sharepoint/dev/spfx/sharepoint-framework-overview and the client side code can call server side APIs. You could use any backend to take the Form submission and return a generated PDF file.
Please find below my thoughts:
-UI and backend base logic(capturing form data) you can do with SpFx.
PDF Generation: There are few client side js scripts(e.g., jspdf)
available to generate a pdf. This can be done from SpFx. We did generated this one of the project but it was console app using csom.(but we used js files for pdf generation)
Word file generation: Power Automate can be handy here, which uses a
premium connector to convert. You might need to rely on onedrive for that.
Or
Azure Function: you can write Azure Function for the conversion
logic(pdf/docx)
API: as astanley86 said, you can create the API (takes care of conversion) and call it from spfx
SpFx is the modern development approach which is recommended by MS. SP Add-in has few cons which you can easily find from knowledge base.
Is there any way we could share/unshare a file or folder with users (external or internal) through REST API?
I am unable to find proper documentation for this. The only information out there is for update, delete, create, download, upload, and read operations!
I have come across some posts which indicate that it's possible to update the fields for a listitem. I was wondering if I could achieve sharing/unsharing through that?
If not sharing then at least unsharing(remove sharing details which ultimately unshares the item). Can unsharing be achieved through this?
I asked a colleague who is more familiar with the Files API than I am, and he said no file sharing properties are exposed via the Files API for Office 365 - so it looks like it's not possible at this point with that API. You could file a request to add that functionality via User Voice feedback page.
im new to jira and its mail handlers.i want to use the jira's mail handlers to scan two folders in my mail box.and update two projects related to those folders. and i did that.
but now i want to extend that functionality.i want to keep the mails in those folders (stop mail handlers from deleting it after processing) and make it able to move issues/tasks across projects simply by moving the associated mail from the folder to the other folder. resulting in deletion of the original issue/task from that project and creating it in the other folder. please help in making this a possibility.
for those who didnt understand my problem: imagine im sending a cv for the post of php developer to a mail. when the reciepent checks it, he puts it in the php folder in his mailbox.so then a task is created in the project php developers. but next the reciepents thinks im more suitable in web developement rather than in php. so he just moves the mail from php folder to the web folder.so the existing task in php project gets deleted and a new task is created under web developement project. can i do this? if so how? please guide me..
Update
sigh..
i dont know how to work with corporate people. now the situation has changed. i hope you could help me with this one.sorry about the sudden change in the question..again...
now my boss wants sth like this.
i created a mail client using imap function to access mail services and retrieve those mails to a web function. theres no problem in that. but now my boss wants to handle jira through that same app aswell. means as like the my question when moving, putting a mail to a folder the app it self should comunicate with jira and make the necesary issue creation and deletion.. is this possible #Kuf?? if so please help. because my deadline is due Wednesday. and im almost there to panic..lol..please forgive me for changing questions like this. as it is not my will..
edit
I have seen that rest api does this. but how to use it? any answers?
The simplest way I found was to receive the emails in your main account and forward them to a second account, while saving a copy on the mail server. Than, tell Jira to pull the emails from the second email.
UPDATE
In the past, I've looked for a way to change Jira's email handler functionality, as you can see in this question here. It is impossible to achieve what you're asking using Jira's email handler because the way it works, it does not keep records of which emails were already read, Jira's service checks for new emails, ignores emails according the pre-defined filters (spam or user defined), handles the rest of the emails, and deletes them so it won't process them again.
The way I can think of to get the functionality you want is to re-write the email handler, you can get the source code, re-write it, and build it into your Jira app.
Another way, which i find easier, is to get all the emails into Jira, and from within Jira move the issues from one project to another. You can even create pre-defined buttons using Jira Scripting Suite to easily move issues between projects (create a post function and attach it to workflow transition).
If you need any help let me know. Good luck!
EDIT 2
Which Jira version do you use? which actions are you planning to do using the remote API? Jira REST API is the newest, but some of the old APIs have capabilities that are lacking in REST. To try and decide which API suits you, have a a look at JIRA Remote API Reference.
If you decide to use the REST API, I suggest that you read Jira's Getting Started with REST manual, which shows how to use the REST API. For the full documentation check out JIRA REST API documentation (make sure to use the right version according to your Jira version).
I need a routine for loading files (.html) onto a sharepoint library using SAS. The site is outside the firewall (am unable to use the 'map network drive' method).
The sharepoint library is configured with 'No versioning' etc, and my username / password has administrator privileges..
I believe there are easier ways (tools) to do it than SAS, so I'd just let SAS call some other process - e.g. if your SAS is on Windows, it could call (even generate) a Powershell script.
This http://poshcode.org/2122 seems to be a way.
I've done something similar with SAS calling curl to upload files to SAS webDAV server.
If you'd like a pure SAS way - it should be doable using new PROC HTTP as a web service call.
Refer to
http://support.sas.com/documentation/cdl/en/proc/61895/HTML/default/viewer.htm#a003286672.htm for SAS side and probably this http://msdn.microsoft.com/en-us/library/ff798339.aspx
for Sharepoint side.
Anyway, PROC HTTP seems interesting for some easier things.
I don't think you can use plain old SAS to do this. If you have the SAS Enterprise BI Server product, there is a component called "SAS Web Parts for Microsoft SharePoint", but that is really an interface between Sharpoint and the BI server (so you can display dashboards or run stored processes).
The "easiest" thing to do is create your html files and then use FTP to copy then to the SharePoint server. Of course, this requires an FTP server on the other end and you would want to engage the help of the Sharepoint administrator. I've done something similar myself. I don't know SharePoint myself but there is a way to set it up so that all content that shows up in a directory is automatically recognised.
There may be other solutions and I'd love to see them as well.
Sharepoint has this wonderful web interface. Basically what you do is open your web browser, works best in IE8+ and navigate to your site URL and open your document library. If you select Items in the Ribbon you can upload a document using their interface. :)
SharePoint already exposes several options, using legacy web service and the new rest services.
http://msdn.microsoft.com/en-us/library/ff798339.aspx