Javapop up for sharepoint2010 - sharepoint-2010

I have developed a sharepoint custom webpart. How do I show it in a javascript pop up when i click on a link at my share point site

create a webpart page first, deploy your webpart in this page and set your popup page as this
web part page.
from our project, we develop an application page and popup it instead of your way.

Related

Issue trying to host docusaurus site on Sharepoint Online

I am trying to host a docusaurus site on a SharePoint Online library. I have followed this article: How to host static HTML sites on modern SharePoint site collections - HANDS ON SharePoint (handsontek.net)
It's almost working: when I use the URL of an index.aspx page (previously generated as index.html by docusaurus) the page opens in the browser, but only the navigation bar, left menu and the footer are displayed. The main content in the center is shown as 'page not found'.
If I then click on any link in the navigation bar, pages are correctly displayed. From there, the navigation between pages behaves as expected.
The pain point is that this issues prevents me from using links to single pages. One always have to navigate to a page using the menu.
Would anyone have a solution ?
I have tried the two trailingslash options, but no change.

Track user from web page to app install & open

I have a requirement where there is a promotional mobile web page where the user can click to download and install the app via AppGallery. When the user opens the app it should display custom content and record that back to our API based on the tracking ID (coming from the web page).
If the user installed the app normally (eg. didn't go through the promo page) then no custom content displayed.
How can the app know that it was installed and opened via a promo web page?
I'm using react-native.
You can embed the AppLinking hyperlink in the promotion page to implement this function.
For Detail,pls kindly refer:https://developer.huawei.com/consumer/en/doc/development/AppGallery-connect-Guides/agc-applinking-applicationscenarios-0000001054263231?ha_source=hms1
Hope this could help with your issue. :)

SharePoint - Content Search WebPart not showing up

I want the Content Search Webpart to display like this below.
But it's showing me this instead.
Any idea why? i have de-activated and re-activated both the features for SharePoint Server Publishing and SharePoint Server Enterprise Site Collection features. Still it does not show up what i wanted.
SOLVED
1.Go to SharePoint Central Admin found in your startup app windows
2.Go to Application Management and click on Manage service applications and click Search Service Application.
3.Go to Crawl rules and click New Crawl Rule and configure it
4.Go to Content Sources and click Start All Crawls

Add an external link in the admin dashboard

I am developing an app and need an external LINK in Shopify admin panel like given picture.
where to add code snippet for the link? Do i need to add a script via API or changing in theme.
This feature is called "Application links". You can setup these links at your partner dashboard.
Go to https://app.shopify.com/services/partners/
Click on 'Apps' tab
Click on the application name you want to have an application link
Click on "Edit App Details"
Scroll down, there is "Application links" section

Deploying custom webpart to sharepoint 2010

In sharepoint 2007 for to deploy a custom webpart i have added all of its application references as a safe control, so i got my webpart correctly. But now i using the sharepoint 2010 and need to deploy a custom webpart in it, hence i followed steps such as
1.Created a webpart(Deploy as a farm solution) using VS2010 of type sharepoint->2010.
2.Used the Sharepoint 2010 Management shell to add the webpart to the sharepoint site.
3.Then using the sharepoint Central Administrator v4->System Settings->Manage Farm Solution->Mycustomwebpart
4.Clicking on that webpart and select deploy option, and hence it is been deployed to the site.
Then in sharepoint home site ->Site Actions-> Site Settings->Site collection Features-> select Mycustomwebpart and click on the Activate button.
6.Now, for to show the webpart, i gone to a site ->site Action-> Edit Page ,then click on Add a webpart then select the custom option and select Mycustomwebpart and click on the Add button.
7.Now i getting the error as "File Not Found" with error message as Web Parts Maintenance Page: If you have permission, you can use this page to temporarily close Web Parts or remove personal settings. For more information, contact your site administrator.
8.Please guide me to overcome this error.
Lots of thanks in advance..........