developer sharepoint spfx
6 TopicsSharePoint On-Premises Event Receiver migration to SharePoint Online
Hello, There is a requirement to migrate SharePoint On-Premises sites to SharePoint Online (SPO). Some of the customization in the current 2013 on-prem site include Event Receivers specially ItemDeleting synchronous event. I was checking out SharePoint Webhooks but looks like sync (ing) events are not supported. Do we have any other option to move Event Receiver in SPO Modern experience specially synchronous events? Thank you.903Views0likes2CommentsFetch Data from on premise Database, SAP HANA Cloud for SPFx adaptive card Extension
I am trying to achieve. looking for how to retrieve and store data on a database system deployed on-premise, such as an SAP HANA solution that has its own database through the custom Viva Connections ACE(Adaptive Card Extension) card which I am trying to create. To give you an idea an example a customer has a locally deployed payroll Management solution that uses a local database. I am trying to connect the ACE card to that database to display the payroll information for an Employee in the card which will be added to the Viva connections Dashboard inside Microsoft Teams.456Views0likes0CommentsFetch Data from on premise Database, SQL, Oracle, or SAP for SPFx adaptive card Extension
I am trying to achieve. looking for is how to retrieve and store data on a database system deployed on-premise, such as an SQL server, Oracle Database, or SAP solution which has its own database through the custom Viva Connections ACE(Adaptive Card Extension) card which I am trying to create. To give you an idea an example a customer has a locally deployed Leave Management solution that uses a local database let's say as an example an Oracle database. I am trying to connect the ACE card to that database to display the Leave information for an Employee in the card which will be added to the Viva connections Dashboard inside Microsoft Teams. And also the employee should be able to create new leave requests through the ACE card from Viva Connections inside Microsoft Teams.671Views0likes0Commentshow to get SP site contents list ?but getting blank values from SP in SPFX webpart
Hi Team, I am trying to get SP Site contents list (Get SP lists) using React component framework but getting blank Please find the below code file //this is WebPart Render method File public render(): void { const element: React.ReactElement<IGetSpListsProps> = React.createElement( GetSpLists, { description: this.properties.description, websiteUrl: this.context.pageContext.web.absoluteUrl }); ReactDom.render(element, this.domElement); } //Component Interface file export interface IGetSpListsProps { description: string; websiteUrl: string; } //Component TSX file export interface IGetSpListsState{ sitecontents: [{"Lists":""}] } export default class GetSpLists extends React.Component<IGetSpListsProps, IGetSpListsState> { static siteurl:string =""; //static member variable public constructor (props :IGetSpListsProps, state:IGetSpListsState ){ super(props); this.state={sitecontents: [{"Lists":""}]}; GetSpLists.siteurl=this.props.websiteUrl; } public componentDidMount() { let reactcontexthandiler= this; jquery.ajax({ url: `${GetSpLists.siteurl}/_api/web/lists?select=Title&$filter=Hidden eq true`, type:"GET", headers:{'Accept': 'application/json;odata=verbose;'}, success : function (resultData){ reactcontexthandiler.setState({sitecontents: resultData.d.results}); }, error: function (jqXHR, textStatus, errorthrown){ } }); } public render(): React.ReactElement<IGetSpListsProps> { return ( <div> <ol> { this.state.sitecontents.map(function(mylists,mylistitemkey){ return( <li> <span>{mylists.Lists}</span> </li>); }) } </ol> </div> );}} Please find the output which it shows for the above piece of code please assist me why it shows blank414Views0likes0CommentsnavigatedEvent is not loading in new site
When I switch between sites - Site A (eng) and Site B (polish), the navigation from term store is loading from Site A in Site B. I have called the navigatedEvent to render the navigation when switching between sites but somehow it is not triggering the navigation in Site B (polish). As it shows the navigation from english site for at least sometime. @override public onInit(): Promise<void> { Log.info(LOG_SOURCE, `Initialized ${strings.Title}`); super.onInit().then(_ => { console.log("super oninit called"); sp.setup({ spfxContext: this.context, defaultCachingTimeoutSeconds: 30, globalCacheDisable: false }); }).then((_) => { console.log("Sp Initilize"); this.context.application.navigatedEvent.add(this, this._renderPlaceHolders); }); return Promise.resolve(); } private _renderPlaceHolders(): void { console.log("NavigationApplicationCustomizer._renderPlaceHolders()"); console.log( "Available placeholders: ", this.context.placeholderProvider.placeholderNames .map(name => PlaceholderName[name]) .join(", ") );585Views0likes0CommentsSend an interactive authorization request for this user and resource.
Hi, Trying to get an access token for an app registration using aadTokenProvider and getting this error. Consented the registration multiple times in Azure itself and through the consent screen. Keep getting this error: Any help? Code: this.props.context.aadTokenProviderFactory.getTokenProvider().then((tokenProvider) => { return tokenProvider.getToken('XXXXXXXX'); }).then((token: string) => { alert(token); }).catch(err => { console.log(err); });74KViews0likes2Comments