Use Bitrix-REST-Api to view a contact - bitrix

Is it possible to use the REST-API of Bitrix to View a Contact (open contact detail view)?
In the API-Documentation (found under https://training.bitrix24.com/rest_help/) I cannot find any informatione about showing Views (only for showing Calendar Detail view).

You can use this methode:
https://training.bitrix24.com/rest_help/crm/contacts/crm_contact_list.php
There are also some examples.
Perhaps its help :)

Related

POST request in controller for custom contact form via AJAX

I've build a custom form which action redirects to a confirm page. In the controller of this page I get the POST values via $request->request->get('fieldName');
To enhance the user experience I'd like to stay on the same page as the form and add a success message to the page. I guess this can be done via AJAX? I tried to follow this guide since it kind of seems to describe what I'm trying to achieve, but I struggle to understand the custom component part. It seems this is only for the backend?
Any help would be appreciated.
The guide you shared is about the administration, if you want to add your functionality to the storefront instead you should be able to follow this guide.
For an overview of how the administration and storefront differs, you can read up the concepts behind those two areas here.

SharePoint Graph API - There is no update page endpoint - looking for suggestions on best way to do this

I am currently working with The SharePoint Graph API.
This is the scenario I need to achieve:
Somehow call page by name not ID
If page called my_page_name.aspx exists
update it
else
create the page
As far as I can work out, there is no update page end point in the documentation here:
https://learn.microsoft.com/en-us/graph/api/resources/search-api-overview?view=graph-rest-beta
The only thing I can think of to do it the following:
Call the page by name
delete it
create a new page with the same name with the new content I want to update
Any help on how I achieve what I need would be great
Yes, As of now we don't have any 'Update Page' endpoint feature and there is already a uservoice for this here. Please upvote this uservoice so that this feature could be developed in future. And also remember that since the pages endpoint is in beta these are subjected to change and its not recommended to use for production purpose.

Liferay: How can I set a specific layout for Terms of use content, the page shown after an user registered

Using Liferay 6.2, I try to workaround to set a specific layout for the Terms of use, shown after an user registered to the portal, and also Verify Email Address page after the user clicked "Agree" under URL /c/portal/....
I would like to have these pages showing with a look and feel I created. For example, I have created a layout called "1_column_white" in the theme I am using for this site and would like to assign to these pages (Terms of use and Verify Email Address). I did try to overwrite property in portal.properties but there is nothing come up.
Please kindly give me an advice.
Regards,
Create a Liferay hook as explained here to modify /portal-trunk/portal-web/docroot/html/portal/terms_of_use.jsp file as per your requirement.

How to instruct gmail tabbed view?

In the new Gmail tabbed view, I'm trying to send our company's newsletters but they keep getting filed under Promotions, when they should be categorized as Updates or Social (they are about relevant news of the day, similar to Linkedin Top News newsletter - nothing related to products and/or deals).
Is there any recommendation for instructing gmail on how to categorize incoming emails into the appropriate tabbed view?
I'm open to work on the content and/or template and/or headers.
I have been in correspondence with a product manager at Google about this.
The main hint he gave me is that we should be using a List-Id header in our email notifications.
He said they are working on a reporting mechanism as well, but I'd urge you to follow his advice and implement the List-Id.

Add application to page

I have a problem when I am trying to add my application to one of my pages. Earlier there has been an option in the left sidebar which simply says view profile application and then you could choose "Add to my page". Now that option is gone and instead there is just an option that says "view application timeline" or something like that. I cannot find how to add my applications to my different pages.
Anyone who have any idea how to solve this problem?
(I'm from Sweden, which explains my bad english)
Thank you!
The short version:
Enter this URL into your browser. Remember to replace YOUR_APP_ID first. There's currently no way to add an application just by clicking a link like before... :/
http://www.facebook.com/dialog/pagetab?app_id=YOUR_APP_ID&redirect_uri=http://www.facebook.com
Please see https://developers.facebook.com/blog/post/611/
This explains the recent changes to how Apps are associated with Pages and shows both how to create a community page and link it to an app, and how to use the new 'add to page' dialog
You can also add apps to a page via the API, see https://developers.facebook.com/docs/reference/api/page/#tabs
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

Resources