Is it possible to create custom annotations in adobe embed api - adobe-embed-api

Trying to change the title of the annotation menu and pop up from Add Sticky Note to something else, has anyone created custom anotations?
I need to create a custom menu item to create an annotation, is this possible?

There is an API to work with annotations. This is documented here, https://opensource.adobe.com/pdfembed-sdk-docs/howtos_comments.html#annotations-api-overview. As I know SO frowns on posting just links, I'd suggest giving this a try and if it doesn't work, you can edit the question with a specific problem with the API. Let me know if this doesn't help.

Related

VSCode Extension Development: How can I use Product Icon in a webview?

I want to use some icons displayed on this website in the webview of my extension.
Is this possible and how can this be achieved?
I found a similar question on stackoverflow.
But he doesn't seem to give a clear and usable answer
Additional related question: Can someone explain what the ThemeIcon API does? I see that it accepts two parameters id and color, but I don't know how to use the constructed object.

Grafana Timeseries Panel: How to change color of annotations bar based on a tag

I am using Grafana version 8.1.0 and have a timeseries panel on which annotations are added using HTTP create annotation API and GUI both.
I want to change the color of the annotation bar based on tags added to that annotation.
I have tried to go through documentation but have not found a way to do it. Could someone help me out with this? I think this is a very basic requirement and I must be missing something here.
It seems like it's not implemented yet, as you can see on this open issue from 2018.
You can also see from the annotations API documentation that it's not possible yet.

using "add fetch request" in Xcodes UI

It seems that there is a convenient way to use fetch controllers using the UI of xcdatamodel. I tried to use it but could not figure out how you actually implement the fetch once I have created it. anyone have some experience with this? A link? And most of all, is it possible to comfortably add this to a fetchResultsController?
Thanks!
EDIT: the answer here core data simple fetch request template in swift helped me use the tool but I feel like it is not a full answer. (Thank you shallowThought)

Multiselection in CNContactPickerViewController

I am creating a food app which requires recommendation. I am adding a feature which allows me to recommend particular food to my friends in my contact list. However, upon using CNContactViewController, I am not getting the required UI for multiselection. This is the screenshot of what I am getting
This looks quite messy. I don't want the cancel and group button. Is there any way to get what I am looking for? Any Custom way to achieve it?
As you asked to recommend other libraries, this could be the better option for multiselect design, check this->EPContactsPicker
Update:
For multiselect to enable in cncontactpicker, use this method contactPicker:didSelectContacts:

Using overlayButtons on FusionCharts with javascript links

I would like to use a javascript function link such as 'link:j-myJS-data' for drill down type charts. I have everything working great to drill down but cannot figure out how to incorporate the overlayButton through the configureLink when drilling down. At present, I can drill down but cannot go back. Can anyone provide a basic example of how I may go about this? Is it even possible?
I thought I could add my own "Back" button to hande this as one option. I do not want to use a jsonURL as there is a lot of data and many paramertes need to be passed resutling in a long links and a lot of extra data in the JSON.
Thanks in advance.
There are multiple options available to create a drill-down chart with FusionCharts XT. Here is a table which explains all of them, with each one's syntax.
The method that you've used is the JavaScript function link. Using this one, you won't get an overlay button to go back to the parent chart.
The overlay button is available only when a LinkedChart is created.
So there are 2 ways that you could go about:
You could change all your charts to use the LinkedCharts technique. Here is a blog post detailing how LinkedCharts can be created using PHP + MySQL. If you aren't using PHP, the general idea shown still applies to any server-side environment.
You could create a separate button sitting near the chart, and this button would re-create the parent chart for you.
The button (which we call "overlay-button") can be made automatically visible using LinkedCharts alone.
However the overlay-button can be internally invoked using the charts' private API. Since these APIs are private, it may change between implementations and may not work as desired under certain circumstances. I would not recommend you to use this. If you are still interested in knowing more on this API, put in a comment and I will update this post.