ajixumuk / spfx Goto Github PK
View Code? Open in Web Editor NEWSharePoint Framework Examples
License: MIT License
SharePoint Framework Examples
License: MIT License
SharePoint framework code release pipeline is failing , I have used following MS blog but failing
https://docs.microsoft.com/en-us/sharepoint/dev/spfx/toolchain/implement-ci-cd-with-azure-devops
build pipeline is succeeded, release pipeline is failing:
Release pipeline flow:
Logs:
ReleaseLogs_24 (2).zip
Originally posted by @soundd2 in microsoft/Microsoft365DSC#2012
Greetings Alex!
Thank You for examples, there is not much documentation about react controls for SharePoint SPFx.
Not an issue, but question..
How to pass url argument and call open function for different urls?..
export default class IframeDialog extends React.Component<IIframeDialogProps, IIframeDialogState> {
public constructor(props: IIframeDialogProps) {
super(props);
this.state = {
isDlgOpen: false
};
}
public render(): React.ReactElement<IIframeDialogProps> {
return (
<div className={styles.iframeDialog}>
<div className={styles.container}>
<div className={styles.row}>
<div className={styles.column}>
<span className={styles.title}>Welcome to SharePoint!</span>
<p className={styles.subTitle}>Customize SharePoint experiences using Web Parts.</p>
<p className={styles.description}>{escape(this.props.description)}</p>
<PrimaryButton text={'Open Dialog'} onClick={this._onClick.bind(this)} />
<IFrameDialog
url={'/temp/workbench.html'}
iframeOnLoad={this._onDlgLoaded.bind(this)}
hidden={!this.state.isDlgOpen}
onDismiss={this._onDlgDismiss.bind(this)}
modalProps={{
isBlocking: true
}}
dialogContentProps={{
type: DialogType.close,
showCloseButton: true
}}
width={'570px'}
height={'315px'} />
</div>
</div>
</div>
</div>
);
}
private _onClick(): void {
this.setState({
isDlgOpen: true,
url: "http://google.com"
});
}
private _onDlgDismiss(): void {
this.setState({
isDlgOpen: false
});
}
private _onDlgLoaded(): void {
console.log('dlg is loaeded');
}
}
If you open a displayview the dialog works great. However, if you then close and reopen, then width reverts back to not working correctly.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.